diff options
author | Sascha Schumann <sas@php.net> | 2002-03-19 12:11:46 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2002-03-19 12:11:46 +0000 |
commit | 3757a81367cd8c13477faa7b39c9a03562f70da5 (patch) | |
tree | a46aab7d1fbe6cfb071b3b0c33b22314029c5d2f /ext/standard/php_smart_str.h | |
parent | 0459ad70a7ba320a76c52ecf18c9a4703233b3b4 (diff) | |
download | php-git-3757a81367cd8c13477faa7b39c9a03562f70da5.tar.gz |
Remove trailing ;
The macro can now safely be used in constructs such as
if (..) foo() else bar();
Diffstat (limited to 'ext/standard/php_smart_str.h')
-rw-r--r-- | ext/standard/php_smart_str.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_smart_str.h b/ext/standard/php_smart_str.h index 3bf94469ce..bf9e3a63ad 100644 --- a/ext/standard/php_smart_str.h +++ b/ext/standard/php_smart_str.h @@ -24,7 +24,7 @@ #include <stdlib.h> #include <zend.h> -#define smart_str_0(x) do { if ((x)->c) { (x)->c[(x)->len] = '\0'; } } while (0); +#define smart_str_0(x) do { if ((x)->c) { (x)->c[(x)->len] = '\0'; } } while (0) #ifndef SMART_STR_PREALLOC #define SMART_STR_PREALLOC 128 |