summaryrefslogtreecommitdiff
path: root/external/glm/Wunused-parameter.patch
blob: de1239702679dbd00ba01ed5e934c2504dd8cd96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- 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));