summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Zakhlestin <indeyets@php.net>2008-10-16 11:59:37 +0000
committerAlexey Zakhlestin <indeyets@php.net>2008-10-16 11:59:37 +0000
commite06765b9c5df1a01dd6c4ce0d4825a8885b9cde9 (patch)
tree2e41f8d82cbe548f64afd9444503036f84aead77
parent5058774e1fbd41e2ede3684066567e330a91327e (diff)
downloadphp-git-e06765b9c5df1a01dd6c4ce0d4825a8885b9cde9.tar.gz
Fixed compilation warnings: tsrm_ls is not used here (anymore?)
-rw-r--r--ext/standard/exec.c3
1 files changed, 0 insertions, 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 */