Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349938
b: refs/heads/master
c: 53985a7
h: refs/heads/master
v: v3
  • Loading branch information
Sasha Levin authored and Arnaldo Carvalho de Melo committed Jan 24, 2013
1 parent b7cf519 commit a05a737
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 531f67bb9ff4069b629762dd5a560e23fc4c5478
refs/heads/master: 53985a7bfa7b947c91f35c6adcdc9cacc6fef07f
6 changes: 2 additions & 4 deletions trunk/tools/perf/util/sort.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,8 @@ static int64_t _sort__sym_cmp(struct symbol *sym_l, struct symbol *sym_r,
if (sym_l == sym_r)
return 0;

if (sym_l)
ip_l = sym_l->start;
if (sym_r)
ip_r = sym_r->start;
ip_l = sym_l->start;
ip_r = sym_r->start;

return (int64_t)(ip_r - ip_l);
}
Expand Down

0 comments on commit a05a737

Please sign in to comment.