Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / vigra / vigra1.4.0-unused-parameters.patch
blobf32317865ea86dc01a0fb5fb78d06efbd0707651
1 --- misc/vigra1.4.0/include/vigra/basicimage.hxx 2012-01-19 22:49:11.232074631 +0100
2 +++ misc/build/vigra1.4.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.4.0/include/vigra/diff2d.hxx 2012-01-19 22:49:11.280074335 +0100
13 +++ misc/build/vigra1.4.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; }