diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-02-03 16:57:45 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-03-18 20:57:14 +0100 |
commit | 28e72991f88b564cc184533be9a7d6ffc5f41947 (patch) | |
tree | a84efd94cef0c36798e4f7c8da501665622bc33e /connectivity | |
parent | e9e04cc17c549e54ccf3cede00d0ce8c4c901310 (diff) |
avoid clang's unreachable code warning
Change-Id: I1a3aa4f560fbc2d41872a634a599226c592ddc18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90715
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/parse/sqlflex.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/parse/sqlflex.l b/connectivity/source/parse/sqlflex.l index 1339cc95a39d..62cdc0abb865 100644 --- a/connectivity/source/parse/sqlflex.l +++ b/connectivity/source/parse/sqlflex.l @@ -98,7 +98,7 @@ static void do_fatal_error(const char* msg) { xxx_pGLOBAL_SQLSCAN->SQLyyerror(msg); /*hack to silence -Wunused-function*/ - if (0) yy_fatal_error(msg); + if ((0)) yy_fatal_error(msg); } #define YY_FATAL_ERROR(msg) \ |