projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
109be0d
)
Fix: clang 'constant-out-of-range-compare' warning
author
Zifei Tong
<zifeitong@gmail.com>
Tue, 4 Mar 2014 13:27:38 +0000
(21:27 +0800)
committer
David Goulet
<dgoulet@efficios.com>
Mon, 10 Mar 2014 20:14:46 +0000
(16:14 -0400)
This patch fixes two 'autological-constant-out-of-range-compare' clang
warnings caused by comparing enum type variables with -1.
It's possible that compilers optimize these two comparisons away.
Signed-off-by: Zifei Tong <zifeitong@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
No differences found
This page took
0.029384 seconds
and
5
git commands to generate.