libwebp: remove useless variable in gif2webp

"out" is never used.

Change-Id: I4441308ef2267b2a9443add240d2fccabfb817f6
This commit is contained in:
Yannis Guyon 2018-10-02 11:39:48 +02:00
parent 556cb1b45e
commit 0d92ff25f2

View File

@ -100,7 +100,6 @@ int main(int argc, const char *argv[]) {
WebPMuxError err = WEBP_MUX_OK;
int ok = 0;
const char *in_file = NULL, *out_file = NULL;
FILE* out = NULL;
GifFileType* gif = NULL;
int frame_duration = 0;
int frame_timestamp = 0;
@ -578,7 +577,6 @@ int main(int argc, const char *argv[]) {
WebPPictureFree(&curr_canvas);
WebPPictureFree(&prev_canvas);
WebPAnimEncoderDelete(enc);
if (out != NULL && out_file != NULL) fclose(out);
if (gif_error != GIF_OK) {
GIFDisplayError(gif, gif_error);