Browse Source

init variables (continue making GCC happy)

migration/RELEASE_1_0_0
Antony Dovgal 21 years ago
parent
commit
c888a7f8af
  1. 4
      TSRM/tsrm_virtual_cwd.c
  2. 4
      Zend/zend_API.c
  3. 2
      Zend/zend_hash.c

4
TSRM/tsrm_virtual_cwd.c

@ -380,9 +380,9 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
char *new_path;
#endif
char orig_path[MAXPATHLEN];
int orig_path_len;
int orig_path_len = 0;
realpath_cache_bucket *bucket;
time_t t;
time_t t = 0;
TSRMLS_FETCH();
if (path_length == 0)

4
Zend/zend_API.c

@ -2017,8 +2017,8 @@ ZEND_API int zend_register_functions(zend_class_entry *scope, zend_function_entr
zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = NULL, *__isset = NULL, *__call = NULL, *__tostring = NULL;
char *lowercase_name;
int fname_len;
char *lc_class_name;
int class_name_len;
char *lc_class_name = NULL;
int class_name_len = 0;
if (type==MODULE_PERSISTENT) {
error_type = E_CORE_WARNING;

2
Zend/zend_hash.c

@ -1454,7 +1454,7 @@ ZEND_API int zend_hash_sort(HashTable *ht, sort_func_t sort_func,
ZEND_API int zend_hash_compare(HashTable *ht1, HashTable *ht2, compare_func_t compar, zend_bool ordered TSRMLS_DC)
{
Bucket *p1, *p2;
Bucket *p1, *p2 = NULL;
int result;
void *pData2;

Loading…
Cancel
Save