mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 11:18:28 +02:00
clients: avoid compiler warning about redefining NDEBUG for qrcodegen
[1/5] Compiling C object 'clients/common/913ef36@@nmc-base@sta/nm-client-utils.c.o'.
../clients/common/nm-client-utils.c:528: warning: "NDEBUG" redefined
528 | #define NDEBUG
|
<command-line>: note: this is the location of the previous definition
This commit is contained in:
parent
a6b6f33f01
commit
f69746c9f9
1 changed files with 1 additions and 0 deletions
|
|
@ -525,6 +525,7 @@ nmc_password_subst_char (void)
|
|||
|
||||
#pragma GCC visibility push(hidden)
|
||||
NM_PRAGMA_WARNING_DISABLE("-Wdeclaration-after-statement")
|
||||
#undef NDEBUG
|
||||
#define NDEBUG
|
||||
#include "qrcodegen.c"
|
||||
NM_PRAGMA_WARNING_REENABLE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue