Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Mar 18, 2013
1 parent 53cb858 commit 6444d19
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions php_fileutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -655,10 +655,7 @@ PHP_FUNCTION(futil_get_contents_from_files)
// int output_cap = 20480 * 2;
int output_cap = 8192;
int output_len = 0;
char *output_end;
char *output = emalloc(output_cap);
output_end = output;


for(zend_hash_internal_pointer_reset_ex(zarr_hash, &pointer);
zend_hash_get_current_data_ex(zarr_hash, (void**) &entry_data, &pointer) == SUCCESS;
Expand All @@ -679,7 +676,6 @@ PHP_FUNCTION(futil_get_contents_from_files)
}
memcpy(output + output_len, contents, contents_len );
output_len += contents_len;
output_end += contents_len;
efree(contents);
}
}
Expand Down

0 comments on commit 6444d19

Please sign in to comment.