From 4a6136b81993da5c838df13eb3b1433deb87abf4 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 6 Feb 2017 19:59:30 +0000 Subject: Remove pointless current_error from API surface. --- src/libnsgif.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libnsgif.c') diff --git a/src/libnsgif.c b/src/libnsgif.c index f8fa4ef..998f8d7 100644 --- a/src/libnsgif.c +++ b/src/libnsgif.c @@ -894,7 +894,6 @@ gif_internal_decode_frame(gif_animation *gif, /* Ensure this frame is supposed to be decoded */ if (gif->frames[frame].display == false) { - gif->current_error = GIF_FRAME_NO_DISPLAY; return GIF_OK; } -- cgit v1.2.3