aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2017-10-16 08:55:18 +0200
committerMontel Laurent <montel@kde.org>2017-10-16 08:56:32 +0200
commit2c54b0c723b92fbe4ffe1b6c33187e88ca2113ba (patch)
tree9f0870078c44cb38e9075868fa55ca2677d09934 /src
parent28bf068903c179501d123a1982036b41c2b81803 (diff)
Inform which is the second argument => number of argument
+ add space after this one. It avoids line as : error, invalid argIndex 3 3/compile/kde5/framework/kde/pim/kmail-account-wizard/src/cryptopage.cpp:226:9: warning: Pass 'this' as the 3rd connect parameter [-Wclazy-connect-3arg-lambda] => we have "3" without space so we can't copy path directly and we didn"t know when was the second "3"
Diffstat (limited to 'src')
-rw-r--r--src/QtUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QtUtils.cpp b/src/QtUtils.cpp
index e44ad176..fdc8eb6a 100644
--- a/src/QtUtils.cpp
+++ b/src/QtUtils.cpp
@@ -271,7 +271,7 @@ CXXMethodDecl *QtUtils::pmfFromConnect(CallExpr *funcCall, int argIndex)
}
if (argIndex >= numArgs) {
- llvm::errs() << "error, invalid argIndex " << argIndex << " " << numArgs;
+ llvm::errs() << "error, invalid argIndex " << argIndex << " number of arguments " << numArgs << " ";
return nullptr;
}