eolian: silence static analysis false positive
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Fri, 22 May 2015 10:26:28 +0000 (11:26 +0100)
committerDaniel 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

index 0941c87..49c3a84 100644 (file)
@@ -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);