diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-06-09 16:59:20 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-09 19:10:05 -0300 |
commit | cf3a3e20dd430274e88fcec8b683d8bac42a5785 (patch) | |
tree | 5911a647548fc2b264178250c4352ed088ded905 /tests | |
parent | 3e2500cab4c5a8b0bd0fb532ca6ed155c36c6dd5 (diff) |
Only display warning for unnamed arguments when this argument has
default value.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testmodifyfunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testmodifyfunction.cpp b/tests/testmodifyfunction.cpp index 930ccdca8..95ba16f40 100644 --- a/tests/testmodifyfunction.cpp +++ b/tests/testmodifyfunction.cpp @@ -29,7 +29,7 @@ void TestModifyFunction::testRenameArgument() { const char* cppCode ="\ struct A {\ - void method(int myarg);\ + void method(int=0);\ };\ "; const char* xmlCode = "\ |