From: Alexey Zakhlestin Date: Thu, 16 Oct 2008 12:21:27 +0000 (+0000) Subject: MFB: Fixed compilation warnings: tsrm_ls is not used here (anymore?) X-Git-Tag: BEFORE_HEAD_NS_CHANGE~216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b7351c0e40cb7a36bfb1fde3b2b2b699309f52d;p=php MFB: Fixed compilation warnings: tsrm_ls is not used here (anymore?) --- diff --git a/ext/standard/exec.c b/ext/standard/exec.c index fb3ab0770d..4f3d433906 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -253,8 +253,6 @@ PHPAPI char *php_escape_shell_cmd(char *str) char *cmd; char *p = NULL; size_t estimate = (2 * l) + 1; - - TSRMLS_FETCH(); cmd = safe_emalloc(2, l, 1); @@ -343,7 +341,6 @@ PHPAPI char *php_escape_shell_arg(char *str) int x, y = 0, l = strlen(str); char *cmd; size_t estimate = (4 * l) + 3; - TSRMLS_FETCH(); cmd = safe_emalloc(4, l, 3); /* worst case */