Skip to content

Commit 9346db9

Browse files
reduce whitespace
Co-authored-by: Ilija Tovilo <[email protected]>
1 parent 1b8311b commit 9346db9

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

ext/opcache/zend_accelerator_module.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -367,27 +367,21 @@ static int filename_is_in_cache(zend_string *filename)
367367

368368
static int filename_is_in_file_cache(zend_string *filename)
369369
{
370-
zend_string *realpath;
371-
372-
realpath = zend_resolve_path(filename);
373-
370+
zend_string *realpath = zend_resolve_path(filename);
374371
if (!realpath) {
375372
return 0;
376373
}
377374

378375
zend_file_handle handle;
379-
380376
zend_stream_init_filename_ex(&handle, filename);
381377
handle.opened_path = realpath;
382378

383379
zend_persistent_script *result = zend_file_cache_script_load_ex(&handle, true);
384-
385380
zend_destroy_file_handle(&handle);
386381

387382
return result != NULL;
388383
}
389384

390-
391385
static int accel_file_in_cache(INTERNAL_FUNCTION_PARAMETERS)
392386
{
393387
if (ZEND_NUM_ARGS() == 1) {

0 commit comments

Comments
 (0)