X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/98ed3b22cc6220600844f91bf4167eebd0457a3f..b05949b6920ce15fd7063643b59cce2f34528854:/test/noeffect.expect diff --git a/test/noeffect.expect b/test/noeffect.expect index e0fb16a..d73f59f 100644 --- a/test/noeffect.expect +++ b/test/noeffect.expect @@ -1,14 +1,13 @@ -/af10/evans/LCLintDev/src/lclint noeffect.c +allmacros +checks -expect 3 noeffect.c: (in macro exprNode_swap) noeffect.c:3:59: Assignment to macro parameter: e1 A macro parameter is used as the left side of an assignment expression. This - exhibits behavior that could not be implemented by a function. (-macroassign - will suppress message) + exhibits behavior that could not be implemented by a function. (Use + -macroassign to inhibit warning) noeffect.c:3:72: Assignment to macro parameter: e2 noeffect.c:2:18: File static function exprNode_swap declared but not used A function is declared but not used. Use /*@unused@*/ in front of function - header to suppress message. (-fcnuse will suppress message) + header to suppress message. (Use -fcnuse to inhibit warning) noeffect.c:3: Definition of exprNode_swap -Finished LCLint checking --- 3 code errors found, as expected +Finished checking --- 3 code warnings, as expected