]> git.mxchange.org Git - simgear.git/commitdiff
- remove the test of the test..
authorPeter Sadrozinski <psadrozinski@gmail.com>
Sat, 27 Dec 2014 18:19:29 +0000 (13:19 -0500)
committerPeter Sadrozinski <psadrozinski@gmail.com>
Sat, 27 Dec 2014 18:19:29 +0000 (13:19 -0500)
simgear/io/test_binobj.cxx

index c41075dca5d1a83184f938149de4b2e0c454cc58..47800e0f5cb0ae8f50f65b27f7fedd9f5ab08f94 100644 (file)
@@ -108,10 +108,6 @@ int_list make_tri(int maxIndex)
         c = (random() % maxIndex);
     
         valid = ( (a!=b) && (b!=c) && (c!=a) );
-        
-        if (!valid) {
-            num_invalid++;
-        }
     }
     
     if (!valid) {