Merge pull request #2314 from jriwanek-forks/more-cleanups
Fix some clang/LLVM warnings
This commit is contained in:
@@ -97,6 +97,13 @@
|
||||
#include <86box/version.h>
|
||||
#include <86box/gdbstub.h>
|
||||
|
||||
// Disable c99-designator to avoid the warnings about int ng
|
||||
#ifdef __clang__
|
||||
#if __has_warning("-Wunused-but-set-variable")
|
||||
#pragma clang diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/* Stuff that used to be globally declared in plat.h but is now extern there
|
||||
and declared here instead. */
|
||||
|
||||
Reference in New Issue
Block a user