]> andersk Git - splint.git/blobdiff - test/tests2.5.expect
noexpand always false.
[splint.git] / test / tests2.5.expect
index 94ee432add2e77a9b236529ae42a582914f7393c..0217256a9c91fec10e69c069cd7fbe7f600fd5d2 100644 (file)
@@ -1,35 +1,53 @@
 
-Finished LCLint checking --- no code errors found
+Finished checking --- no warnings
 
 boolt.c: (in function test)
 boolt.c:7:16: Function test expects arg 1 to be pan_bool_t gets int: 2
 
-Finished LCLint checking --- 1 code error found, as expected
+Finished checking --- 1 code warning, as expected
 
 uconstants.c: (in function f)
 uconstants.c:2:16: Variable x0 declared but not used
 uconstants.c:3:21: Variable x1 declared but not used
 
-Finished LCLint checking --- 2 code errors found, as expected
+Finished checking --- 2 code warnings, as expected
 
 hoof.c: (in function main)
 hoof.c:12:16: Function init_arr expects arg 2 to be long int * gets int *: &j
 
-Finished LCLint checking --- 1 code error found, as expected
+Finished checking --- 1 code warning, as expected
 
-Finished LCLint checking --- no code errors found
+Finished checking --- no warnings
 
-Finished LCLint checking --- no code errors found
+Finished checking --- no warnings
 
 booltest.c: (in function f)
-booltest.c:9:12: Return value type int does not match declared type bool: i
 booltest.c:8:7: Test expression for if not bool, type int: i
+booltest.c:9:12: Return value type int does not match declared type bool: i
 
-Finished LCLint checking --- 2 code errors found, as expected
+Finished checking --- 2 code warnings, as expected
 
-Finished LCLint checking --- no code errors found
+Finished checking --- no warnings
 
 booltest.c: (in function f)
 booltest.c:9:12: Return value type int does not match declared type bool: i
 
-Finished LCLint checking --- 1 code error found, as expected
+Finished checking --- 1 code warning, as expected
+
+Finished checking --- no warnings
+
+Finished checking --- no warnings
+
+immutable.c: (in function immutable_create)
+immutable.c:7:6: Arrow access from possibly null pointer res: res->x
+   immutable.c:5:19: Storage res may become null
+immutable.c:8:10: Fresh storage returned as unqualified (should be only): res
+   immutable.c:5:54: Fresh storage res created
+
+Finished checking --- 2 code warnings, as expected
+
+impabsmodule.c: (in function isTwo)
+impabsmodule.c:10:7: Variable var used before definition
+impabsmodule.c:10:12: Variable var2 used before definition
+
+Finished checking --- 2 code warnings, as expected
This page took 0.080374 seconds and 4 git commands to generate.