From ad07a9778816fe1afd6136e71c683030396a7415 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sat, 14 Jun 2014 19:34:04 +0200 Subject: [PATCH] wrlib: remove unnecessary variable assignation (Coverity #50258) As pointed by Coverity, this value is never used, the assignation has no effect, so Coverity reports that it is unnecessary complexity that is not compatible with code maintainability. Signed-off-by: Christophe CURIS --- wrlib/load_magick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrlib/load_magick.c b/wrlib/load_magick.c index 622276f8..3e809ba2 100644 --- a/wrlib/load_magick.c +++ b/wrlib/load_magick.c @@ -88,7 +88,7 @@ bye: /* Tidy up */ DestroyPixelWand(bg_wand); MagickClearException(m_wand); - m_wand = DestroyMagickWand(m_wand); + DestroyMagickWand(m_wand); return image; }