diff options
| author | 2017-02-02 09:37:10 -0500 | |
|---|---|---|
| committer | 2017-02-02 09:37:10 -0500 | |
| commit | bfb9194e31a337dbe36ce8f3c4c9e6f145b83516 (patch) | |
| tree | b4201fd5bc0322de5ab6a4c2b4f3612c70f92ac9 /src/modules/objects/KvsObject_wrapper.cpp | |
| parent | Fix #2077 (diff) | |
| download | KVIrc-bfb9194e31a337dbe36ce8f3c4c9e6f145b83516.tar.gz KVIrc-bfb9194e31a337dbe36ce8f3c4c9e6f145b83516.tar.bz2 KVIrc-bfb9194e31a337dbe36ce8f3c4c9e6f145b83516.zip | |
Fixes unintentional hiding of local variable in nested scope
Diffstat (limited to 'src/modules/objects/KvsObject_wrapper.cpp')
| -rw-r--r-- | src/modules/objects/KvsObject_wrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/objects/KvsObject_wrapper.cpp b/src/modules/objects/KvsObject_wrapper.cpp index e3c23c1aa..147ca7d4e 100644 --- a/src/modules/objects/KvsObject_wrapper.cpp +++ b/src/modules/objects/KvsObject_wrapper.cpp @@ -233,7 +233,7 @@ bool KvsObject_wrapper::init(KviKvsRunTimeContext * pContext, KviKvsVariantList if(!szName.isEmpty()) { bool ok; - int iLevels = szName.toInt(&ok); + iLevels = szName.toInt(&ok); if(!ok) { pContext->warning(__tr2qs_ctx("Bad number of levels for the '!Parent' specifier", "objects")); |
