diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-10-24 17:50:01 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-10-24 17:50:54 +0300 |
commit | 142dbf27c10535af51f2c722d9166b59e550aa22 (patch) | |
tree | b1045f12382e2fbfd497062e312f8272050eee57 /external | |
parent | c57fb9ea459f08c33a4b8c129938411a59a19b77 (diff) |
WaE: unused parameter
Change-Id: Ifcdef5ed474b36e60604dde96bba4dd152e829b6
Diffstat (limited to 'external')
-rw-r--r-- | external/glm/UnpackedTarball_glm.mk | 1 | ||||
-rw-r--r-- | external/glm/Wunused-parameter.patch | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/external/glm/UnpackedTarball_glm.mk b/external/glm/UnpackedTarball_glm.mk index 86e9d162b40e..82f4a2c3a850 100644 --- a/external/glm/UnpackedTarball_glm.mk +++ b/external/glm/UnpackedTarball_glm.mk @@ -18,6 +18,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,glm,1)) $(eval $(call gb_UnpackedTarball_add_patches,glm, \ external/glm/Wshadow-patch-fix.patch \ external/glm/Wsign-compare.patch.0 \ + external/glm/Wunused-parameter.patch \ )) # vim: set noet sw=4 ts=4: diff --git a/external/glm/Wunused-parameter.patch b/external/glm/Wunused-parameter.patch new file mode 100644 index 000000000000..de1239702679 --- /dev/null +++ b/external/glm/Wunused-parameter.patch @@ -0,0 +1,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));
+
|