Skip to content

Commit

Permalink
Remove unused locals.
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanem committed Jun 9, 2023
1 parent 377d2c6 commit 98b2fdb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lua.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ static void lua_append_dir (const struct directory_array *dir, BOOL for_LUA_CPAT
DWORD attr;
char *p;
int i, add_it, max;
int ignore = 0;

memset (&lua, '\0', sizeof(lua));
_strlcpy (lua.path, dir->dir, sizeof(lua.path));
Expand Down Expand Up @@ -266,7 +265,7 @@ void lua_exit (void)
*/
void lua_check_env (const char *env, int *num, char *status, size_t status_sz)
{
int i, max, found, errors, save;
int i, max, errors, save;
BOOL check_CPATH = TRUE;

ASSERT (!strcmp(env, "LUA_PATH") || !strcmp(env, "LUA_CPATH"));
Expand Down

0 comments on commit 98b2fdb

Please sign in to comment.