diff options
author | Kurtis Rader <krader@skepticism.us> | 2016-04-04 14:34:28 -0700 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-04-04 14:34:28 -0700 |
commit | 47f1a92cc4c3c7056f4172974f10a8dd402cf55c (patch) | |
tree | 34bf83341006081f8a07bc6ca77cac03c603eb97 /src/fish_tests.cpp | |
parent | 0953590cca7cdc2dab75af5a85c8e2f15d4b8ab2 (diff) |
fixes for cppcheck lint warnings
Refine the linting behavior.
Fix several of the, mostly trivial, lint errors.
Diffstat (limited to 'src/fish_tests.cpp')
-rw-r--r-- | src/fish_tests.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/fish_tests.cpp b/src/fish_tests.cpp index 9afb4344..6250513c 100644 --- a/src/fish_tests.cpp +++ b/src/fish_tests.cpp @@ -458,10 +458,8 @@ static void test_tok() if (types[i] != token.type) { err(L"Tokenization error:"); - wprintf(L"Token number %d of string \n'%ls'\n, got token type %ld\n", - i+1, - str, - (long)token.type); + wprintf(L"Token number %zu of string \n'%ls'\n, got token type %ld\n", + i + 1, str, (long)token.type); } i++; } |