Revision: 56722
          http://sourceforge.net/p/brlcad/code/56722
Author:   vladbogo
Date:     2013-08-09 19:24:04 +0000 (Fri, 09 Aug 2013)
Log Message:
-----------
Removed "mixed declaration and code" warning.

Modified Paths:
--------------
    brlcad/trunk/src/libbu/heap.c

Modified: brlcad/trunk/src/libbu/heap.c
===================================================================
--- brlcad/trunk/src/libbu/heap.c       2013-08-09 19:12:35 UTC (rev 56721)
+++ brlcad/trunk/src/libbu/heap.c       2013-08-09 19:24:04 UTC (rev 56722)
@@ -114,6 +114,8 @@
     size_t total_pages = 0;
     size_t ncpu = bu_avail_cpus();
 
+    heap_func_t log = bu_heap_log(NULL);
+
     struct bu_vls str = BU_VLS_INIT_ZERO;
 
     /* this may get atexit()-registered multiple times, so make sure
@@ -123,8 +125,6 @@
        return;
     }
 
-    heap_func_t log = bu_heap_log(NULL);
-
     log("=======================\n"
        "Memory Heap Information\n"
        "-----------------------\n", 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