diff options
author | Thomas Haller <thaller@redhat.com> | 2020-01-15 22:24:18 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-01-15 22:25:21 +0100 |
commit | f69746c9f9e1c56944c8a486fd851c66ba5db6a8 (patch) | |
tree | 096af3f2ca2cac4c7f39cdb445437bf73c8fce2f | |
parent | a6b6f33f018566db82ec3f943225742c8f9b4e0f (diff) | |
download | NetworkManager-f69746c9f9e1c56944c8a486fd851c66ba5db6a8.tar.gz |
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
-rw-r--r-- | clients/common/nm-client-utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/common/nm-client-utils.c b/clients/common/nm-client-utils.c index 4d356edbbe..cf8b478560 100644 --- a/clients/common/nm-client-utils.c +++ b/clients/common/nm-client-utils.c @@ -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 |