commit | 3c3710e89ac92ac69c90f70ba63a52a97fe41746 | [log] [tgz] |
---|---|---|
author | Alistair Delva <adelva@google.com> | Wed Aug 05 10:32:17 2020 -0700 |
committer | Alistair Delva <adelva@google.com> | Wed Aug 05 10:43:35 2020 -0700 |
tree | 3496e01a7d8d1d423da8ba3a6a3e5a2ac2b3b185 | |
parent | 3f3b1e4cad13e7fb74cd330dd1d5a93ecb41230c [diff] |
swig: Annotate SWIG_exit() with noreturn Android builds all host tools with -Werror=no-return, which generates a false positive in name_regexmatch_value() if HAVE_PCRE is not present. Fix this by annotating SWIG_exit() with noreturn so the compiler knows that the call will not return, thus the missing return code is in fact not a problem. Bug: 162801433 Change-Id: I0ee1ec89eff1f3e7aaf9056dda5543734bec2980