[Scummvm-cvs-logs] scummvm master -> a8ff238e7a107e14f1c4a80a470601c4594238da

eriktorbjorn eriktorbjorn at telia.com
Fri Aug 23 22:39:25 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a8ff238e7a TIZEN: Silence cppcheck warning in scanStringUntil()


Commit: a8ff238e7a107e14f1c4a80a470601c4594238da
    https://github.com/scummvm/scummvm/commit/a8ff238e7a107e14f1c4a80a470601c4594238da
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2013-08-23T13:37:50-07:00

Commit Message:
TIZEN: Silence cppcheck warning in scanStringUntil()

This is consistent with scanString(), and I have verified that the
included test cases still work.

Changed paths:
    backends/platform/tizen/sscanf.cpp



diff --git a/backends/platform/tizen/sscanf.cpp b/backends/platform/tizen/sscanf.cpp
index aa84669..75f009c 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;






More information about the Scummvm-git-logs mailing list