summaryrefslogtreecommitdiff
path: root/vigra/vigra1.4.0-unused-parameters.patch
blob: f32317865ea86dc01a0fb5fb78d06efbd0707651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- misc/vigra1.4.0/include/vigra/basicimage.hxx	2012-01-19 22:49:11.232074631 +0100
+++ misc/build/vigra1.4.0/include/vigra/basicimage.hxx	2012-01-19 22:48:12.997439136 +0100
@@ -72,7 +72,7 @@
         difference_type offset_;
     };
 
-    static void initialize(BaseType &) {}
+    static void initialize(__attribute__ ((unused)) BaseType &) {}
 
     static reference dereference(BaseType const & d)
         { return const_cast<reference>(*(*d.line_start_ + d.offset_)); }
--- misc/vigra1.4.0/include/vigra/diff2d.hxx	2012-01-19 22:49:11.280074335 +0100
+++ misc/build/vigra1.4.0/include/vigra/diff2d.hxx	2012-01-19 22:49:00.129144170 +0100
@@ -60,7 +60,7 @@
     typedef Diff const *                    pointer;
     typedef std::random_access_iterator_tag iterator_category;
 
-    static void initialize(BaseType &) {}
+    static void initialize(__attribute__ ((unused)) BaseType &) {}
 
     static reference dereference(BaseType const & d)
         { return d; }
@@ -102,7 +102,7 @@
     typedef Diff const *                    pointer;
     typedef std::random_access_iterator_tag iterator_category;
 
-    static void initialize(BaseType & /*d*/) {}
+    static void initialize(__attribute__ ((unused)) BaseType & /*d*/) {}
 
     static reference dereference(BaseType const & d)
         { return d; }