Skip to content

Commit

Permalink
Suppress cppcheck false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Oct 9, 2024
1 parent 88a5cd4 commit cb6cbce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/i18n_review.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <omp.h>
#endif
// for the GUI version, include gettext's translation loading support via wxWidgets
// cppcheck-suppress-begin [preprocessorErrorDirective]
#if __has_include(<wx/wx.h>)
#include <wx/wx.h>
#if wxCHECK_VERSION(3, 3, 0)
Expand All @@ -35,6 +36,7 @@
#define _(s) (s)
#define _WXTRANS_WSTR(s) (s)
#endif
// cppcheck-suppress-end [preprocessorErrorDirective]

/// @brief Classes for checking source code for internationalization/localization issues.
/// @details Refer to https://www.gnu.org/software/gettext/manual/gettext.html
Expand Down

0 comments on commit cb6cbce

Please sign in to comment.