summaryrefslogtreecommitdiff
path: root/ext/standard/scanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/scanf.c')
-rw-r--r--ext/standard/scanf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/scanf.c b/ext/standard/scanf.c
index d6776aaf96..cff0f9c4c2 100644
--- a/ext/standard/scanf.c
+++ b/ext/standard/scanf.c
@@ -921,7 +921,7 @@ literal:
if (numVars) {
char __buf[2];
__buf[0] = sch;
- __buf[1] = '\0';;
+ __buf[1] = '\0';
current = args[objIndex++];
zval_dtor(*current);
ZVAL_STRINGL( *current, __buf, 1);