Commit b627005
committed
se: Fix Wbool-conversion warning in find_specific_rule()
find_specific_rule() returns pointer, so obviously 'return false' is
just confusingly stupid. Newer clang (e.g. on ArchLinux) also
complains:
se/ace.c:661:10: error: initialization of pointer of type 'struct seel_ace_rule *' to null from a constant boolean expression [-Werror,-Wbool-conversion]
Fixes: 1be05e6 ("se: Initial commit")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>1 parent 7118668 commit b627005
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
661 | | - | |
| 661 | + | |
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
| |||
0 commit comments