lib/package_unpack.c: make clang stfu due to -Wmissing-field-initializers.

This commit is contained in:
Juan RP 2013-11-19 10:39:46 +01:00
parent e1a3e44e2a
commit 79bf795e1a

View File

@ -39,6 +39,14 @@
#include "xbps_api_impl.h" #include "xbps_api_impl.h"
/*
* XXX WTF clearly clang should stfu and accept struct initializers
* struct foo foo = {0};
*/
#ifdef __clang__
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
#endif
static int static int
set_extract_flags(uid_t euid) set_extract_flags(uid_t euid)
{ {