diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2021-10-31 14:55:24 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2021-10-31 16:18:25 +0000 |
commit | 5af2a3dddfebff63742bfd83618d037b4d95bca2 (patch) | |
tree | b10e0f3067dc2efb1b55b8de04a5952b511996fe /src | |
parent | bd01b79660e5c41e04180ad291bf82619d420c79 (diff) | |
download | libnsgif-5af2a3dddfebff63742bfd83618d037b4d95bca2.tar.gz libnsgif-5af2a3dddfebff63742bfd83618d037b4d95bca2.tar.bz2 |
GIF: Clean up ugly redundant assignment in comparison.
Diffstat (limited to 'src')
-rw-r--r-- | src/libnsgif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnsgif.c b/src/libnsgif.c index 64db9b1..94b07af 100644 --- a/src/libnsgif.c +++ b/src/libnsgif.c @@ -317,7 +317,7 @@ static gif_result gif_initialise_frame(gif_animation *gif) gif_bytes = (gif_end - gif_data); /* Check if we've finished */ - if ((gif_bytes = (gif_end - gif_data)) < 1) { + if (gif_bytes < 1) { return GIF_INSUFFICIENT_FRAME_DATA; } |