diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-06-29 04:25:26 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-06-29 04:25:26 +0000 |
commit | 60ff0a7d8a15d7d0cd2dd8bd36700c6bce27e465 (patch) | |
tree | ea81ee001ff58511b456759ad8fc30b3c75c68a2 | |
parent | 0f72bbb377601f0e42e4cb3888a6742e19e9846d (diff) |
reduce disabled warnings with clang
-rw-r--r-- | sys/dev/pci/drm/include/linux/compiler.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/include/linux/compiler.h b/sys/dev/pci/drm/include/linux/compiler.h index 6e7c02ddb19..ef5e3dab2ca 100644 --- a/sys/dev/pci/drm/include/linux/compiler.h +++ b/sys/dev/pci/drm/include/linux/compiler.h @@ -36,15 +36,11 @@ /* The Linux code doesn't meet our usual standards! */ #ifdef __clang__ -#pragma clang diagnostic ignored "-Wenum-conversion" #pragma clang diagnostic ignored "-Winitializer-overrides" #pragma clang diagnostic ignored "-Wtautological-compare" #pragma clang diagnostic ignored "-Wunneeded-internal-declaration" -#pragma clang diagnostic ignored "-Wunused-const-variable" -#pragma clang diagnostic ignored "-Wincompatible-pointer-types-discards-qualifiers" #pragma clang diagnostic ignored "-Wunused-function" #pragma clang diagnostic ignored "-Wunused-variable" -#pragma clang diagnostic ignored "-Wparentheses-equality" #pragma clang diagnostic ignored "-Wmissing-braces" #else #pragma GCC diagnostic ignored "-Wformat-zero-length" |