]> granicus.if.org Git - php/commitdiff
Drop some TSRMLS_FETCH which are not used according to gcc
authorSascha Schumann <sas@php.net>
Tue, 6 May 2003 11:52:11 +0000 (11:52 +0000)
committerSascha Schumann <sas@php.net>
Tue, 6 May 2003 11:52:11 +0000 (11:52 +0000)
ext/standard/browscap.c

index 05cc4ecc14df96c201b38a0dd48bf2edb77d4a00..b93b05c6e3a9cb9003795edaf96376ee087eda7a 100644 (file)
@@ -34,8 +34,6 @@ static zval *current_section;
 
 static void browscap_entry_dtor(zval *pvalue)
 {
-       TSRMLS_FETCH();
-
        if (Z_TYPE_P(pvalue) == IS_OBJECT) {
                zend_hash_destroy(Z_OBJPROP_P(pvalue));
                free(Z_OBJPROP_P(pvalue));
@@ -95,8 +93,6 @@ static void convert_browscap_pattern(zval *pattern)
  */
 static void php_browscap_parser_cb(zval *arg1, zval *arg2, int callback_type, void *arg)
 {
-       TSRMLS_FETCH();
-
        if (!arg1) {
                return;
        }
@@ -194,8 +190,6 @@ static int browser_reg_compare(zval **browser, int num_args, va_list args, zend_
        char *lookup_browser_name = va_arg(args, char *);
        zval **found_browser_entry = va_arg(args, zval **);
 
-       TSRMLS_FETCH();
-
        if (*found_browser_entry) { /* already found */
                return 0;
        }