Bump version to 5.0-14
[LibreOffice.git] / external / vigra / vigra1.6.0-unused-parameters.patch
blob946ec6905aaab3778390df563ab5a17ce09aceeb
1 --- misc/vigra1.6.0/include/vigra/basicimage.hxx 2012-01-19 22:49:11.232074631 +0100
2 +++ misc/build/vigra1.6.0/include/vigra/basicimage.hxx 2012-01-19 22:48:12.997439136 +0100
3 @@ -72,7 +72,7 @@
4 difference_type offset_;
5 };
7 - static void initialize(BaseType &) {}
8 + static void initialize(__attribute__ ((unused)) BaseType &) {}
10 static reference dereference(BaseType const & d)
11 { return const_cast<reference>(*(*d.line_start_ + d.offset_)); }
12 --- misc/vigra1.6.0/include/vigra/diff2d.hxx 2012-01-19 22:49:11.280074335 +0100
13 +++ misc/build/vigra1.6.0/include/vigra/diff2d.hxx 2012-01-19 22:49:00.129144170 +0100
14 @@ -60,7 +60,7 @@
15 typedef Diff const * pointer;
16 typedef std::random_access_iterator_tag iterator_category;
18 - static void initialize(BaseType &) {}
19 + static void initialize(__attribute__ ((unused)) BaseType &) {}
21 static reference dereference(BaseType const & d)
22 { return d; }
23 @@ -102,7 +102,7 @@
24 typedef Diff const * pointer;
25 typedef std::random_access_iterator_tag iterator_category;
27 - static void initialize(BaseType & /*d*/) {}
28 + static void initialize(__attribute__ ((unused)) BaseType & /*d*/) {}
30 static reference dereference(BaseType const & d)
31 { return d; }
32 --- misc/vigra1.6.0/include/vigra/rgbvalue.hxx
33 +++ misc/build/vigra1.6.0/include/vigra/rgbvalue.hxx
34 @@ -184,7 +184,7 @@
35 /** Construct from another sequence (must have length 3!)
37 template <class Iterator>
38 - RGBValue(Iterator i, Iterator end)
39 + RGBValue(Iterator i, __attribute__ ((unused)) Iterator)
40 : Base(i[0], i[1], i[2])
42 VIGRA_STATIC_ASSERT((RGBValue_bad_color_indices<RED_IDX, GREEN_IDX, BLUE_IDX>));