* db/Makefile (CFLAGS-hash_func.c): New variable; pass -Wno-unused.
(CFLAGS): Append -Wno-unitialized.
include ../Rules
CPPFLAGS += -D__DBINTERFACE_PRIVATE
+
+# This file defines some static functions for alternative hash algorithms
+# that are not actually used.
+CFLAGS-hash_func.c := -Wno-unused
+
+# The db code outsmarts the compiler frequently.
+override CFLAGS += -Wno-uninitialized