diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-26 02:20:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-26 02:20:39 +0300 |
commit | 2850bd01b539f9d64c1c487cf4c899e3b9b7f5a2 (patch) | |
tree | f933cd0479e675d367bf9c1131664b222b491890 /src/analysis/expression.cpp | |
parent | b6a8b96b678eeda4f61ee8e20a19a47707537637 (diff) | |
download | paranucker-2850bd01b539f9d64c1c487cf4c899e3b9b7f5a2.tar.gz paranucker-2850bd01b539f9d64c1c487cf4c899e3b9b7f5a2.tar.bz2 paranucker-2850bd01b539f9d64c1c487cf4c899e3b9b7f5a2.tar.xz paranucker-2850bd01b539f9d64c1c487cf4c899e3b9b7f5a2.zip |
Fix compilation warnings.
Diffstat (limited to 'src/analysis/expression.cpp')
-rw-r--r-- | src/analysis/expression.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/analysis/expression.cpp b/src/analysis/expression.cpp index 43bdbba..0fa56a7 100644 --- a/src/analysis/expression.cpp +++ b/src/analysis/expression.cpp @@ -128,7 +128,9 @@ void analyseModifyExpr(ModifyExprNode *node, const WalkItem &wi, WalkItem &wo) } } -void analysePointerPlusExpr(PointerPlusExprNode *node, const WalkItem &wi, WalkItem &wo) +void analysePointerPlusExpr(PointerPlusExprNode *node, + const WalkItem &wi, + WalkItem &wo A_UNUSED) { // need atleast one arg for check if (node->args.empty() || command == FindArgs) @@ -137,7 +139,9 @@ void analysePointerPlusExpr(PointerPlusExprNode *node, const WalkItem &wi, WalkI reportParmDeclNullPointer(node, node->args[0], wi); } -void analyseAddrExpr(AddrExprNode *node, const WalkItem &wi, WalkItem &wo) +void analyseAddrExpr(AddrExprNode *node, + const WalkItem &wi, + WalkItem &wo A_UNUSED) { // need atleast one arg for check if (node->args.empty() || command == FindArgs) @@ -161,7 +165,9 @@ void analyseAddrExpr(AddrExprNode *node, const WalkItem &wi, WalkItem &wo) reportParmDeclNullPointer(node, node->args[0], wi); } -void analyseReturnExpr(ReturnExprNode *node, const WalkItem &wi, WalkItem &wo) +void analyseReturnExpr(ReturnExprNode *node A_UNUSED, + const WalkItem &wi A_UNUSED, + WalkItem &wo) { wo.isReturned = true; } @@ -519,7 +525,9 @@ void analyseCleanupPointExpr(CleanupPointExprNode* node, const WalkItem &wi, Wal wo.stopWalking = true; } -void analyseInitExpr(InitExprNode* node, const WalkItem &wi, WalkItem &wo) +void analyseInitExpr(InitExprNode* node, + const WalkItem &wi A_UNUSED, + WalkItem &wo) { // need one arg for check if (node->args.size() < 2 || command == FindArgs) |