summaryrefslogtreecommitdiff
path: root/ext/standard/php_smart_str.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2014-03-29 17:39:26 +0800
committerXinchen Hui <laruence@gmail.com>2014-03-29 17:39:26 +0800
commit5c1595ca8e1326536d4aa37e03405813a6d55959 (patch)
treed5ed106ce04ac3d8e6d1c1a61088998706cd03fe /ext/standard/php_smart_str.h
parent3647fc6fcc63262e0347ee78a37b2410bf6a7035 (diff)
downloadphp-git-5c1595ca8e1326536d4aa37e03405813a6d55959.tar.gz
Refactor session (incompleted)
Diffstat (limited to 'ext/standard/php_smart_str.h')
-rw-r--r--ext/standard/php_smart_str.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/standard/php_smart_str.h b/ext/standard/php_smart_str.h
index 283d3eb8b7..e11eb734ed 100644
--- a/ext/standard/php_smart_str.h
+++ b/ext/standard/php_smart_str.h
@@ -31,8 +31,6 @@
#define smart_str_0(x) do { \
if ((x)->s) { \
(x)->s->val[(x)->s->len] = '\0'; \
- } else { \
- smart_str_appendc((x), '\0'); \
} \
} while (0)