forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
15 lines
531 B
Text
15 lines
531 B
Text
The padding is important (earlier versions tried to remove it leading to peril),
|
|
but clang++ complains about it. Mark it as __unused to prevent that...
|
|
--- oless/h/dir.hxx 2014-02-12 08:14:24.000000000 -0500
|
|
+++ oless/h/dir.hxx 2014-02-14 11:36:59.000000000 -0500
|
|
@@ -142,5 +142,9 @@
|
|
inline void SetBitFlags(BYTE bValue, BYTE bMask);
|
|
|
|
- BYTE _bpad[CBDIRPAD]; // do not remove, bad things will happen!
|
|
+ BYTE _bpad[CBDIRPAD] // do not remove, bad things will happen!
|
|
+#ifdef __clang__
|
|
+ __unused
|
|
+#endif
|
|
+ ;
|
|
};
|
|
|