]> granicus.if.org Git - php/commitdiff
MFB: Fixed compilation warnings: tsrm_ls is not used here (anymore?)
authorAlexey Zakhlestin <indeyets@php.net>
Thu, 16 Oct 2008 12:21:27 +0000 (12:21 +0000)
committerAlexey Zakhlestin <indeyets@php.net>
Thu, 16 Oct 2008 12:21:27 +0000 (12:21 +0000)
ext/standard/exec.c

index fb3ab0770d7111c582eb6adb898d12d217cc0cbe..4f3d43390601aa4afd032b2102886d91c38138c3 100644 (file)
@@ -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 */