Index: third_party/libusb/libusb.gyp |
diff --git a/third_party/libusb/libusb.gyp b/third_party/libusb/libusb.gyp |
index 21ce2434d1238dbe4f81a91fa3e1a4b40b2c8cee..85f523025324ecc74cd5020805b15ba9ecc5876d 100644 |
--- a/third_party/libusb/libusb.gyp |
+++ b/third_party/libusb/libusb.gyp |
@@ -23,6 +23,12 @@ |
'src/libusb/version.h', |
'src/libusb/version_nano.h', |
], |
+ 'variables': { |
+ 'clang_warning_flags': [ |
+ # guid_eq in windows_usb.c is unused. |
+ '-Wno-unused-function', |
+ ], |
+ }, |
'include_dirs': [ |
'src', |
'src/libusb', |