]> granicus.if.org Git - php/commitdiff
MFH(r-1.7) Silence compiler warning: unused variable
authorSara Golemon <pollita@php.net>
Thu, 29 Dec 2005 06:02:17 +0000 (06:02 +0000)
committerSara Golemon <pollita@php.net>
Thu, 29 Dec 2005 06:02:17 +0000 (06:02 +0000)
sapi/embed/php_embed.h

index c3ee95d7e14b8b1e92cc17a6938f215d91014d1c..ab59ada1f01f87a18574bf89f00f0a43a8139c91 100644 (file)
 #define PTSRMLS_DC       , PTSRMLS_D
 #define PTSRMLS_C        &tsrm_ls
 #define PTSRMLS_CC       , PTSRMLS_C
+
+#define PHP_EMBED_START_BLOCK(x,y) { \
+    void ***tsrm_ls; \
+    php_embed_init(x, y PTSRMLS_CC); \
+    zend_first_try {
+
 #else
 #define PTSRMLS_D
 #define PTSRMLS_DC
 #define PTSRMLS_C
 #define PTSRMLS_CC
-#endif
 
 #define PHP_EMBED_START_BLOCK(x,y) { \
-    void ***tsrm_ls; \
-    php_embed_init(x, y PTSRMLS_CC); \
+    php_embed_init(x, y); \
     zend_first_try {
 
+#endif
+
 #define PHP_EMBED_END_BLOCK() \
   } zend_catch { \
     /* int exit_status = EG(exit_status); */ \