diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-07 12:58:16 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-02-08 12:44:33 +0100 |
commit | 77919edd1fe447d9574ff3636e036d6459cf445a (patch) | |
tree | 4d98d3f42140b8a0ddf33b8a9c67de10c12bbb73 /connectivity | |
parent | 545622887c55e935be2bb482b838a8fb84a84298 (diff) |
cid#1497933 suppress Macro compares unsigned to 0
Change-Id: I7f06f889f2bd687028c00d79bdcf9e2edacc5c82
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129601
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/parse/sqlbison.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y index c4be0bc00bd0..18ee2e7cd43d 100644 --- a/connectivity/source/parse/sqlbison.y +++ b/connectivity/source/parse/sqlbison.y @@ -4651,6 +4651,7 @@ OString OSQLParser::TokenIDToStr(sal_uInt32 nTokenID, const IParseContext* pCont if (aStr.isEmpty()) { + // coverity[unsigned_compare : SUPPRESS] - YYTRANSLATE is out of our control aStr = yytname[YYTRANSLATE(nTokenID)]; if(aStr.startsWith("SQL_TOKEN_")) aStr = aStr.copy(10); |