Revision: 57216
          http://sourceforge.net/p/brlcad/code/57216
Author:   brlcad
Date:     2013-08-28 12:31:08 +0000 (Wed, 28 Aug 2013)
Log Message:
-----------
reduce var scope, total is unused

Modified Paths:
--------------
    brlcad/trunk/src/conv/g-dot.c

Modified: brlcad/trunk/src/conv/g-dot.c
===================================================================
--- brlcad/trunk/src/conv/g-dot.c       2013-08-28 12:26:53 UTC (rev 57215)
+++ brlcad/trunk/src/conv/g-dot.c       2013-08-28 12:31:08 UTC (rev 57216)
@@ -54,7 +54,6 @@
 static void
 dot_comb(struct db_i *dbip, struct directory *dp, genptr_t out)
 {
-    size_t i;
     struct rt_db_internal intern;
     struct rt_comb_internal *comb;
 
@@ -82,6 +81,7 @@
      * gets a list of comb members.  needs to return tabular data.
      */
     if (comb->tree) {
+       size_t i;
        size_t node_count = 0;
        size_t actual_count = 0;
        struct bu_vls vls = BU_VLS_INIT_ZERO;
@@ -259,7 +259,6 @@
        char buffer[MAX_BUFFER] = {0};
        char filename[MAXPATHLEN] = {0};
        FILE *temp = NULL;
-       size_t total = 0;
        size_t ret = 0;
        size_t n = 0;
 
@@ -273,7 +272,6 @@
        while (feof(stdin) == 0) {
            n = fread(buffer, 1, MAX_BUFFER, stdin);
            if (n > 0) {
-               total += n;
                ret = fwrite(buffer, 1, n, temp);
                if (ret != n) {
                    bu_exit(5, "ERROR: problem encountered reading from 
standard input\n");

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


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to