Revision: 52541
          http://brlcad.svn.sourceforge.net/brlcad/?rev=52541&view=rev
Author:   brlcad
Date:     2012-09-25 16:58:12 +0000 (Tue, 25 Sep 2012)
Log Message:
-----------
bad try/catch block.  have to unset the jump when you're done.  mark out_type 
volatile to try and quell setjmp() warning.

Modified Paths:
--------------
    brlcad/trunk/src/libged/bot_fuse.c

Modified: brlcad/trunk/src/libged/bot_fuse.c
===================================================================
--- brlcad/trunk/src/libged/bot_fuse.c  2012-09-25 16:57:04 UTC (rev 52540)
+++ brlcad/trunk/src/libged/bot_fuse.c  2012-09-25 16:58:12 UTC (rev 52541)
@@ -155,7 +155,7 @@
     int ret, c, i;
     struct bn_tol *tol = &gedp->ged_wdbp->wdb_tol;
     int total = 0;
-    int out_type = 0; /* open edge output type: 0 = none, 1 = show, 2 = plot */
+    volatile int out_type = 0; /* open edge output type: 0 = none, 1 = show, 2 
= plot */
     size_t open_cnt;
     struct bu_vls name_prefix = BU_VLS_INIT_ZERO;
 
@@ -293,7 +293,7 @@
        BU_UNSETJUMP;
        bu_vls_printf(gedp->ged_result_str, "%s: %s fuse failed (2).\n", 
argv[0], argv[i+1]);
        return GED_ERROR;
-    }
+    } BU_UNSETJUMP;
 
     RT_DB_INTERNAL_INIT(&intern2);
     intern2.idb_major_type = DB5_MAJORTYPE_BRLCAD;

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to