From e06765b9c5df1a01dd6c4ce0d4825a8885b9cde9 Mon Sep 17 00:00:00 2001 From: Alexey Zakhlestin Date: Thu, 16 Oct 2008 11:59:37 +0000 Subject: Fixed compilation warnings: tsrm_ls is not used here (anymore?) --- ext/standard/exec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 794a67982f..e23dc7c642 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -268,8 +268,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); @@ -358,7 +356,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 */ -- cgit v1.2.1