Revision: 41899
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41899&view=rev
Author:   brlcad
Date:     2010-12-31 18:11:49 +0000 (Fri, 31 Dec 2010)

Log Message:
-----------
fscanf into strings doesn't need a double pointer.

Modified Paths:
--------------
    brlcad/trunk/src/conv/intaval/regtab.cpp

Modified: brlcad/trunk/src/conv/intaval/regtab.cpp
===================================================================
--- brlcad/trunk/src/conv/intaval/regtab.cpp    2010-12-31 18:07:16 UTC (rev 
41898)
+++ brlcad/trunk/src/conv/intaval/regtab.cpp    2010-12-31 18:11:49 UTC (rev 
41899)
@@ -48,7 +48,7 @@
       return 1;
 
    char descr[LINELEN];
-   while (fscanf(fp, "%s%d%[^\n]", &name, &mat, &descr) != EOF)
+   while (fscanf(fp, "%s%d%[^\n]", name, &mat, descr) != EOF)
    {
       if (name[0] == '-')
          continue;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to