Skip to content

Commit

Permalink
Fix cppcheck failure on gettext.h
Browse files Browse the repository at this point in the history
The `gettext.h` is not our code. It's comming from gettext-devel package
and we copy that into our code during autogen execution. However, new
cppcheck version 2.11 started to gave errors from this header file. It's
filed here

https://bugzilla.redhat.com/show_bug.cgi?id=2217542

To not block ourselves on an error from another library let's suppress
that error for now.
  • Loading branch information
jkonecny12 committed Jun 27, 2023
1 parent 33508dd commit b362860
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/cppcheck/suppression-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ unusedFunction:widgets/glade/*
// stop whining about G_DEFINE macros
constStatement:*/widgets/src/*
constStatement:widgets/src/*

//
returnDanglingLifetime:*widgets/src/gettext.h
returnDanglingLifetime:widgets/src/gettext.h

0 comments on commit b362860

Please sign in to comment.