projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f45f3e9
)
eolian: silence static analysis false positive
author
Daniel Kolesa
<d.kolesa@osg.samsung.com>
Fri, 22 May 2015 10:26:28 +0000
(11:26 +0100)
committer
Daniel Kolesa
<d.kolesa@osg.samsung.com>
Fri, 22 May 2015 10:26:28 +0000
(11:26 +0100)
Fixes CID 1299412.
src/lib/eolian/eo_parser.c
patch
|
blob
|
history
diff --git
a/src/lib/eolian/eo_parser.c
b/src/lib/eolian/eo_parser.c
index
0941c87
..
49c3a84
100644
(file)
--- a/
src/lib/eolian/eo_parser.c
+++ b/
src/lib/eolian/eo_parser.c
@@
-1737,6
+1737,7
@@
_inherit_dep(Eo_Lexer *ls, Eina_Strbuf *buf)
snprintf(ebuf, sizeof(ebuf), "class '%s' cannot inherit from itself",
iname);
eo_lexer_syntax_error(ls, ebuf);
+ return; /* unreachable (longjmp above), make static analysis shut up */
}
fname = eina_hash_find(_filenames, fnm);
free(fnm);