Skip to content

Commit

Permalink
no warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
freakout42 committed Dec 5, 2024
1 parent c4fb88b commit 563d825
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arx/src/cur_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ int inpipe[2];
unsigned int flags;
char *devtty = "/dev/tty";

cur_redir = around;

#ifndef WIN32
struct termios termio;

Expand Down Expand Up @@ -79,6 +77,8 @@ if (around >= 3)
}
#endif

cur_redir = around;

if ((stdscreen = initscr()) == NULL) return NULL;
#ifdef DEBUG
fprintf (stderr, "cur_init: %s\n", "initscr() done");
Expand Down

0 comments on commit 563d825

Please sign in to comment.