Revision: 56911
          http://sourceforge.net/p/brlcad/code/56911
Author:   carlmoore
Date:     2013-08-16 21:26:35 +0000 (Fri, 16 Aug 2013)
Log Message:
-----------
remove unneeded braces; also remove a trailing blank from printf, to reduce 
output!

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

Modified: brlcad/trunk/src/conv/g-nff.c
===================================================================
--- brlcad/trunk/src/conv/g-nff.c       2013-08-16 21:00:55 UTC (rev 56910)
+++ brlcad/trunk/src/conv/g-nff.c       2013-08-16 21:26:35 UTC (rev 56911)
@@ -323,7 +323,7 @@
 
        npercent = (float)(regions_converted * 100) / regions_tried;
        tpercent = (float)(regions_written * 100) / regions_tried;
-       printf("Tried %d regions, %d conv. to NMG's %d conv. to tri. nmgper = 
%.2f%% triper = %.2f%% \n",
+       printf("Tried %d regions, %d conv. to NMG's %d conv. to tri. nmgper = 
%.2f%% triper = %.2f%%\n",
               regions_tried, regions_converted, regions_written, npercent, 
tpercent);
     }
 
@@ -436,9 +436,8 @@
     if (bu_optind+1 >= argc)
        bu_exit(1, usage, argv[0]);
 
-    if (!output_file) {
+    if (!output_file)
        bu_exit(1, "No output file specified!\n");
-    }
 
     /* Open output file */
     if ((fpf = fopen(output_file, "wb+")) == NULL) {

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


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to