mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 05:38:22 +01:00
libwebp: remove useless variable in gif2webp
"out" is never used. Change-Id: I4441308ef2267b2a9443add240d2fccabfb817f6
This commit is contained in:
parent
556cb1b45e
commit
0d92ff25f2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user