]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
contrib/lmdb: avoid -Wshadow with embedded lmdb
authorVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 10 Jan 2019 09:19:56 +0000 (10:19 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Thu, 10 Jan 2019 10:30:30 +0000 (10:30 +0000)
Unfortunately, CFLAGS are concatenated in the other order than we would
need for this, so let's choose this approach.

contrib/lmdb/mdb.c

index 90ac99f2d849c9cd63bdf4152e977065dfb1374c..f225a19ec34097200baec199ee52ffbd3e82bdd5 100644 (file)
@@ -1,3 +1,4 @@
+#pragma GCC diagnostic ignored "-Wshadow"
 /** @file mdb.c
  *     @brief Lightning memory-mapped database library
  *