Files
loongoffice/external/glm/Wunused-parameter.patch
Tor Lillqvist 142dbf27c1 WaE: unused parameter
Change-Id: Ifcdef5ed474b36e60604dde96bba4dd152e829b6
2014-10-24 17:50:54 +03:00

19 lines
372 B
Diff

--- glm/glm/gtx/bit.inl
+++ glm/glm/gtx/bit.inl
@@ -572,6 +572,7 @@
int const & ToBit
)
{
+ (void) FromBit;
assert(FromBit <= ToBit);
assert(ToBit <= sizeof(genIUType) * std::size_t(8));
@@ -589,6 +589,7 @@
int const & ToBit
)
{
+ (void) FromBit;
assert(FromBit <= ToBit);
assert(ToBit <= sizeof(genIUType) * std::size_t(8));