ext/RMagick/rmagick.c in rmagick-3.1.0 vs ext/RMagick/rmagick.c in rmagick-3.2.0

- old
+ new

@@ -177,17 +177,16 @@ * @param class the class on which the method is run. * @return the formats hash. * @see MagickInfo_to_format */ VALUE -Magick_init_formats(VALUE class) +Magick_init_formats(VALUE class ATTRIBUTE_UNUSED) { const MagickInfo **magick_info; size_t number_formats, x; VALUE formats; ExceptionInfo *exception; - class = class; // defeat "never referenced" message from icc formats = rb_hash_new(); // IM 6.1.3 added an exception argument to GetMagickInfoList exception = AcquireExceptionInfo(); magick_info = GetMagickInfoList("*", &number_formats, exception);