From: Kalle Sommer Nielsen Date: Thu, 2 Apr 2009 05:16:55 +0000 (+0000) Subject: We dont need to escape % here, it just generates a compiler warning X-Git-Tag: php-5.4.0alpha1~191^2~3994 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11d630b9e922fdb5d2c2168d913a3daac864bacc;p=php We dont need to escape % here, it just generates a compiler warning --- diff --git a/ext/standard/scanf.c b/ext/standard/scanf.c index f041b14334..b2ff8ea5e9 100644 --- a/ext/standard/scanf.c +++ b/ext/standard/scanf.c @@ -574,7 +574,7 @@ notXpg: gotSequential = 1; if (gotXpg) { mixedXPG: - php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", "cannot mix \"\%\" and \"\%n$\" conversion specifiers"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", "cannot mix \"%\" and \"%n$\" conversion specifiers"); goto error; }