From: Kalle Sommer Nielsen Date: Thu, 2 Apr 2009 05:17:36 +0000 (+0000) Subject: MFH: X-Git-Tag: php-5.3.0RC2~230 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76fc7f3845acc03fb2cd318d1c204070826821d2;p=php MFH: 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 73541fbb5a..621149e2ec 100644 --- a/ext/standard/scanf.c +++ b/ext/standard/scanf.c @@ -394,7 +394,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; }