]> granicus.if.org Git - php/commitdiff
- Ifdef out code that has if(0) and doesn't compile anyway
authorMarcus Boerger <helly@php.net>
Thu, 27 Mar 2008 12:54:23 +0000 (12:54 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 27 Mar 2008 12:54:23 +0000 (12:54 +0000)
ext/phar/phar.c

index 1d75019b7ec600b3d76c0fb0141666c8203c8827..806a6cfc922f806d7b130485bfc7c3caa94f4b45 100644 (file)
@@ -2678,6 +2678,7 @@ int phar_zend_open(const char *filename, zend_file_handle *handle TSRMLS_DC) /*
                }
                return FAILURE;
        }
+#if HELLY_0
        if (0 && zend_hash_num_elements(&(PHAR_GLOBALS->phar_fname_map))) {
                char *fname = NULL;
                int fname_len;
@@ -2737,6 +2738,7 @@ dopharthing:
                        return FAILURE;
                }
        }
+#endif
 skip_phar:
        return phar_orig_zend_open(filename, handle TSRMLS_CC);
 }