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:
Thomas Haller 2020-01-15 22:24:18 +01:00
parent a6b6f33f01
commit f69746c9f9

View file

@ -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