cvs: php-src /sapi/embed php_embed.h
| From: | Sara Golemon | Date: | Thu, 29 Dec 2005 06:00:36 +0000 |
| Subject: | cvs: php-src /sapi/embed php_embed.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36282@lists.php.net to get a copy of this message | ||
pollita Thu Dec 29 06:00:36 2005 EDT
Modified files:
/php-src/sapi/embed php_embed.h
Log:
Silence compiler warning: unused variable
http://cvs.php.net/viewcvs.cgi/php-src/sapi/embed/php_embed.h?r1=1.6&r2=1.7&diff_format=u
Index: php-src/sapi/embed/php_embed.h
diff -u php-src/sapi/embed/php_embed.h:1.6 php-src/sapi/embed/php_embed.h:1.7
--- php-src/sapi/embed/php_embed.h:1.6 Wed Aug 3 14:08:49 2005
+++ php-src/sapi/embed/php_embed.h Thu Dec 29 06:00:36 2005
@@ -15,7 +15,7 @@
| Author: Edin Kadribasic <edink@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_embed.h,v 1.6 2005/08/03 14:08:49 sniper Exp $ */
+/* $Id: php_embed.h,v 1.7 2005/12/29 06:00:36 pollita Exp $ */
#ifndef _PHP_EMBED_H_
#define _PHP_EMBED_H_
@@ -32,18 +32,25 @@
#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); */ \