From: Christophe CURIS <[email protected]>

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 <[email protected]>
---
 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 622276f..3e809ba 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;
 }
-- 
1.9.2


-- 
To unsubscribe, send mail to [email protected].

Reply via email to