Revision: 48465
          http://brlcad.svn.sourceforge.net/brlcad/?rev=48465&view=rev
Author:   brlcad
Date:     2012-01-12 00:52:20 +0000 (Thu, 12 Jan 2012)
Log Message:
-----------
naive attempt to quell coverity DEADCODE warning (cid 1731).  the sizeof() 
constant is expectedly causing unreachable code.

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

Modified: brlcad/trunk/src/libbu/test_htond.c
===================================================================
--- brlcad/trunk/src/libbu/test_htond.c 2012-01-12 00:51:48 UTC (rev 48464)
+++ brlcad/trunk/src/libbu/test_htond.c 2012-01-12 00:52:20 UTC (rev 48465)
@@ -109,12 +109,11 @@
            nbytes = 6;
            break;
        case 4:
+       default:
            /* untested */
+           bu_log("unknown and untested double size\n");
            nbytes = 4;
            break;
-       default:
-           bu_bomb("unknown and untested double size\n");
-           break;
     }
     ret = fread(buf, 8, NUM, stdin);
     if (ret != 8)

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


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to