Revision: 48419
http://brlcad.svn.sourceforge.net/brlcad/?rev=48419&view=rev
Author: brlcad
Date: 2012-01-11 18:21:22 +0000 (Wed, 11 Jan 2012)
Log Message:
-----------
eliminate a DEADCODE condition reported by coverity since the logic will never
be CV_D at this point in the code. (cov cid 162)
Modified Paths:
--------------
brlcad/trunk/src/libbu/convert.c
Modified: brlcad/trunk/src/libbu/convert.c
===================================================================
--- brlcad/trunk/src/libbu/convert.c 2012-01-11 18:09:14 UTC (rev 48418)
+++ brlcad/trunk/src/libbu/convert.c 2012-01-11 18:21:22 UTC (rev 48419)
@@ -823,11 +823,6 @@
*/
if (outIsHost != CV_HOST_MASK) {
switch (outfmt) {
- case CV_D:
- (void) htond((unsigned char *)out,
- (unsigned char *)from,
- work_count);
- break;
case CV_16 | CV_SIGNED_MASK:
(void) bu_cv_htonss(out, bufsize, (short int *)from,
work_count);
break;
@@ -840,6 +835,10 @@
case CV_32:
(void) bu_cv_htonul(out, bufsize, (unsigned long int
*)from, work_count);
break;
+ case CV_D:
+ default:
+ /* do nothing */
+ break;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits