Skip to content

Commit e06765b

Browse files
committed
Fixed compilation warnings: tsrm_ls is not used here (anymore?)
1 parent 5058774 commit e06765b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ext/standard/exec.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,6 @@ PHPAPI char *php_escape_shell_cmd(char *str)
268268
char *cmd;
269269
char *p = NULL;
270270
size_t estimate = (2 * l) + 1;
271-
272-
TSRMLS_FETCH();
273271

274272
cmd = safe_emalloc(2, l, 1);
275273

@@ -358,7 +356,6 @@ PHPAPI char *php_escape_shell_arg(char *str)
358356
int x, y = 0, l = strlen(str);
359357
char *cmd;
360358
size_t estimate = (4 * l) + 3;
361-
TSRMLS_FETCH();
362359

363360
cmd = safe_emalloc(4, l, 3); /* worst case */
364361

0 commit comments

Comments
 (0)