Skip to content

Commit

Permalink
fixed invalid return
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 18, 2010
1 parent 667c0ae commit b846896
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/profilerlib.php
Expand Up @@ -178,7 +178,7 @@ function get_profiling($args)
list($index, $file, $line) = preg_split("/ /",$data, 3);
if(array_key_exists('i',$opt) && $symbol_type[$index] == 1) {
continue;
}
}
$index_cur = $index;
$calls[$index_cur]++;
array_push($callstack, $index_cur);
Expand Down Expand Up @@ -261,7 +261,7 @@ function get_profiling($args)
if(array_key_exists('U', $opt)) { $sort = 'by_c_utime'; }
if(array_key_exists('Z', $opt)) { $sort = 'by_c_time'; }
if( !count($symbol_hash)) {
continue;
return NULL;
}

$retstring .= sprintf("
Expand Down

0 comments on commit b846896

Please sign in to comment.