summaryrefslogtreecommitdiff
path: root/external/vigra
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-14 17:39:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-14 17:39:51 +0100
commita539950a6dbc6c19ab4f2757ca23a5ef8a7a5110 (patch)
tree3791c98921c06d7cabc3229139bb8a23a66596e7 /external/vigra
parent5992dc43c31dcf4f458a6c9e5eed0adf0e97be97 (diff)
external/vigra: -Werror,-Wunused-parameter
Change-Id: Ide11bd4424fccd1cf57713128d06ba4f2207d0eb
Diffstat (limited to 'external/vigra')
-rw-r--r--external/vigra/vigra1.6.0-unused-parameters.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/external/vigra/vigra1.6.0-unused-parameters.patch b/external/vigra/vigra1.6.0-unused-parameters.patch
index 7e23531bad6f..946ec6905aaa 100644
--- a/external/vigra/vigra1.6.0-unused-parameters.patch
+++ b/external/vigra/vigra1.6.0-unused-parameters.patch
@@ -29,3 +29,14 @@
static reference dereference(BaseType const & d)
{ return d; }
+--- misc/vigra1.6.0/include/vigra/rgbvalue.hxx
++++ misc/build/vigra1.6.0/include/vigra/rgbvalue.hxx
+@@ -184,7 +184,7 @@
+ /** Construct from another sequence (must have length 3!)
+ */
+ template <class Iterator>
+- RGBValue(Iterator i, Iterator end)
++ RGBValue(Iterator i, __attribute__ ((unused)) Iterator)
+ : Base(i[0], i[1], i[2])
+ {
+ VIGRA_STATIC_ASSERT((RGBValue_bad_color_indices<RED_IDX, GREEN_IDX, BLUE_IDX>));