diff options
author | Alexander Naumov <alexander_naumov@opensuse.org> | 2017-01-21 02:18:39 +0100 |
---|---|---|
committer | Alexander Naumov <alexander_naumov@opensuse.org> | 2017-01-21 02:18:39 +0100 |
commit | 5c3d9d4b20732bac4b3a6f6f2f95ea03e63b8782 (patch) | |
tree | 2243e3533e3a9a2011029f053c394d283b8f5fce | |
parent | 5fd82c69bdbdf772a9fc43d59acf3a6fc4e06ef9 (diff) | |
download | screen-5c3d9d4b20732bac4b3a6f6f2f95ea03e63b8782.tar.gz |
Value stored to 'av' during its initialization is never read
i.e. we initialize 'av' twice
-rw-r--r-- | src/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c index 69b53ab..e464a62 100644 --- a/src/socket.c +++ b/src/socket.c @@ -660,7 +660,7 @@ struct NewWindow *nwin; struct msg m; register char *p; register int len, n; - char **av = nwin->args; + char **av; #ifdef NAME_MAX if (strlen(sty) > NAME_MAX) |