Revision: 49352
http://brlcad.svn.sourceforge.net/brlcad/?rev=49352&view=rev
Author: brlcad
Date: 2012-02-08 21:24:54 +0000 (Wed, 08 Feb 2012)
Log Message:
-----------
ahh, there are more of these buggers. simplify for cov cid 228 and 229 DEADCODE
Modified Paths:
--------------
brlcad/trunk/src/shapes/wire.c
Modified: brlcad/trunk/src/shapes/wire.c
===================================================================
--- brlcad/trunk/src/shapes/wire.c 2012-02-08 21:21:25 UTC (rev 49351)
+++ brlcad/trunk/src/shapes/wire.c 2012-02-08 21:24:54 UTC (rev 49352)
@@ -275,7 +275,7 @@
solcyl[5] = '0';
solcyl[6] = temp[0];
} /* END # 11 */
- else if ((10 <= i) || (i < 100)) {
+ else if (i < 100) {
/* START # 12 */
solcyl[5] = temp[0];
solcyl[6] = temp[1];
@@ -312,7 +312,7 @@
solsph[5] = '0';
solsph[6] = temp[0];
} /* END # 21 */
- else if ((10 <= i) || (i < 100)) {
+ else if (i < 100) {
/* START # 22 */
solsph[5] = temp[0];
solsph[6] = temp[1];
@@ -361,8 +361,7 @@
} /* END # 34 */
} /* END # 32 */
} /* END # 31 */
-
- else if ((10 <= i) || (i < 100)) {
+ else if (i < 100) {
/* START # 35 */
solcyl[5] = temp[0];
solcyl[6] = temp[1];
@@ -410,8 +409,7 @@
solsub2[5] = '0';
solsub2[6] = temp[0];
} /* END # 41 */
-
- else if ((10 <= i) || (i < 100)) {
+ else if (i < 100) {
/* START # 42 */
solsph[5] = temp[0];
solsph[6] = temp[1];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits