]> andersk Git - splint.git/commitdiff
Fixed /*@i@*/ warnings.
authordrl7x <drl7x>
Fri, 11 Apr 2003 22:13:28 +0000 (22:13 +0000)
committerdrl7x <drl7x>
Fri, 11 Apr 2003 22:13:28 +0000 (22:13 +0000)
src/constraintTerm.c

index 807a0bdbeafeee73dd1ec8e2e4c03d36e098a3b8..f08346078a8ae5ffe91a728d17ab140e86a6d746 100644 (file)
@@ -493,10 +493,16 @@ bool constraintTerm_similar (constraintTerm term1, constraintTerm term2)
 
       return (t1 == t2);
     }
-  
+
+        /*drl this if statement handles the case where constraintTerm_canGetValue only returns
+         true for term1 or term2 but no both
+         if constraintTerm_canGetValue returned tru for both we would have returned in the previous if statement
+         I suppose this could be done with xor but I've never used xor and don't feel like starting now
+         besides this way is more effecient.     
+       */
   if (constraintTerm_canGetValue (term1) || constraintTerm_canGetValue (term2))
     {
-      /* evans 2001-07-24: is this right? */ /*@i534@*/
+
       return FALSE;
     }
 
@@ -732,7 +738,6 @@ ctype constraintTerm_getCType (constraintTerm term)
       break;
 
     case CTT_INTLITERAL:
-      /*@i888*/ /* hack */
       ct = ctype_signedintegral;
       break;
       
This page took 0.110077 seconds and 5 git commands to generate.