lib/package_unpack.c: make clang stfu due to -Wmissing-field-initializers.
This commit is contained in:
parent
e1a3e44e2a
commit
79bf795e1a
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user