diff options
author | Torbjörn Andersson | 2013-08-23 22:37:50 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2013-08-23 22:37:50 +0200 |
commit | a8ff238e7a107e14f1c4a80a470601c4594238da (patch) | |
tree | 8ff07dfc3b1ea6ae2cc6d7fd60cb30dee609f79a /backends/platform/tizen | |
parent | 97b5114129567e4ca53522f38eb29c1851593d2a (diff) | |
download | scummvm-rg350-a8ff238e7a107e14f1c4a80a470601c4594238da.tar.gz scummvm-rg350-a8ff238e7a107e14f1c4a80a470601c4594238da.tar.bz2 scummvm-rg350-a8ff238e7a107e14f1c4a80a470601c4594238da.zip |
TIZEN: Silence cppcheck warning in scanStringUntil()
This is consistent with scanString(), and I have verified that the
included test cases still work.
Diffstat (limited to 'backends/platform/tizen')
-rw-r--r-- | backends/platform/tizen/sscanf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/tizen/sscanf.cpp b/backends/platform/tizen/sscanf.cpp index aa846698f6..75f009cc61 100644 --- a/backends/platform/tizen/sscanf.cpp +++ b/backends/platform/tizen/sscanf.cpp @@ -93,7 +93,7 @@ bool scanStringUntil(const char **in, va_list *ap, char c_end) { char *arg = va_arg(*ap, char*); while (**in && **in != c_end) { *arg = **in; - *arg++; + arg++; (*in)++; } *arg = 0; |