1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 07:35:07 +00:00
serenity/Ports/harfbuzz/patches/unused.patch
2021-05-08 19:13:42 +02:00

12 lines
520 B
Diff

diff -Naur harfbuzz-2.8.1/src/hb-buffer.hh harfbuzz-2.8.1.serenity/src/hb-buffer.hh
--- harfbuzz-2.8.1/src/hb-buffer.hh 2021-05-04 02:09:38.000000000 +0200
+++ harfbuzz-2.8.1.serenity/src/hb-buffer.hh 2021-05-08 05:22:34.579810445 +0200
@@ -166,7 +166,7 @@
#ifndef HB_NDEBUG
unsigned int end = start + count;
assert (end <= 8);
- unsigned int bits = (1u<<end) - (1u<<start);
+ [[maybe_unused]] unsigned int bits = (1u<<end) - (1u<<start);
assert (bits == (allocated_var_bits & bits));
#endif
}