Permalink
Browse files

Silence some more warnings.

  • Loading branch information...
wvanbergen committed Aug 10, 2011
1 parent 142ead7 commit 980de3b3c6b1b5371d16d5826093ca45a2a09c8b
Showing with 2 additions and 0 deletions.
  1. +2 −0 ext/oily_png/resampling.c
@@ -44,6 +44,7 @@ void oily_png_generate_steps_residues(long width, long new_width, long *steps, l
}
VALUE oily_png_canvas_steps(VALUE self, VALUE v_width, VALUE v_new_width) {
+ UNUSED_PARAMETER(self);
long width = NUM2LONG(v_width);
long new_width = NUM2LONG(v_new_width);
@@ -70,6 +71,7 @@ VALUE oily_png_canvas_steps(VALUE self, VALUE v_width, VALUE v_new_width) {
VALUE oily_png_canvas_steps_residues(VALUE self, VALUE v_width, VALUE v_new_width) {
+ UNUSED_PARAMETER(self);
long width = NUM2LONG(v_width);
long new_width = NUM2LONG(v_new_width);

0 comments on commit 980de3b

Please sign in to comment.