From 2d5f142dc6ef1baddb0bf0e548df31ddae7a26c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Wed, 22 Jan 2014 16:01:17 +0100 Subject: [PATCH] Fix warning in main_test --- tests/suites/main_test.function | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/suites/main_test.function b/tests/suites/main_test.function index 67fb3949d..dc80135e7 100644 --- a/tests/suites/main_test.function +++ b/tests/suites/main_test.function @@ -144,8 +144,8 @@ int parse_arguments( char *buf, size_t len, char *params[50] ) { if( *p == '\\' ) { - *p++; - *p++; + p++; + p++; continue; } if( *p == ':' ) @@ -158,7 +158,7 @@ int parse_arguments( char *buf, size_t len, char *params[50] ) *p = '\0'; } - *p++; + p++; } // Replace newlines, question marks and colons in strings