# SDL\_image: group all those int local vars together.

**URL:** <https://discourse.libsdl.org/t/sdl-image-group-all-those-int-local-vars-together/34115>\
**Category:** SDL Commits\
**Created:** [December 15, 2021, 5:58pm UTC](https://discourse.libsdl.org/t/sdl-image-group-all-those-int-local-vars-together/34115 "2021-12-15T17:58:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [December 15, 2021, 5:58pm UTC](https://discourse.libsdl.org/t/sdl-image-group-all-those-int-local-vars-together/34115/1 "2021-12-15T17:58:08Z")

</div>

> <https://github.com/libsdl-org/SDL_image/commit/4123e5f43f244073538b9504cf8784c8baf4392b>

```diff
From 4123e5f43f244073538b9504cf8784c8baf4392b Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 15 Dec 2021 20:56:50 +0300
Subject: [PATCH] group all those int local vars together.

---
 IMG_gif.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/IMG_gif.c b/IMG_gif.c
index 1a3102c..c418343 100644
--- a/IMG_gif.c
+++ b/IMG_gif.c
@@ -494,8 +494,7 @@ GetCode(SDL_RWops *src, int code_size, int flag, State_t * state)
 static int
 LWZReadByte(SDL_RWops *src, int flag, int input_code_size, State_t * state)
 {
- int code, incode;
- int i;
+ int i, code, incode;
 
     /* Fixed buffer overflow found by Michael Skladnikiewicz */
     if (input_code_size > MAX_LWZ_BITS)

```
