diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-01-31 13:24:56 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-01-31 13:24:56 +0100 |
commit | a6d5fe1825e3a9daea090dc4f582f8fd89da0cf3 (patch) | |
tree | 2f1b5367d39ec4ff280933b204dfbbf8f9d7893f /call/call.c | |
parent | 216aa966d5fd1fcaf4e15eba025910b7282c29a6 (diff) |
call: Sort out initialization of t_win variables.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'call/call.c')
-rw-r--r-- | call/call.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/call/call.c b/call/call.c index 790318e..a21dbf2 100644 --- a/call/call.c +++ b/call/call.c @@ -2063,8 +2063,12 @@ static int cmd_call(char *call[], int mode, int encoding) int upllen = 0; char *c, *t; t_gp gp; - t_win win_in = {}; - t_win win_out = {}; + t_win win_in = { + .ptr = NULL, + }; + t_win win_out = { + .ptr = NULL, + }; WINDOW *swin = NULL; int cnt; int crc = 0; |