From a8ff238e7a107e14f1c4a80a470601c4594238da Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Fri, 23 Aug 2013 22:37:50 +0200 Subject: TIZEN: Silence cppcheck warning in scanStringUntil() This is consistent with scanString(), and I have verified that the included test cases still work. --- backends/platform/tizen/sscanf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3