diff options
author | Alexander Naumov <alexander_naumov@opensuse.org> | 2017-01-21 02:31:50 +0100 |
---|---|---|
committer | Alexander Naumov <alexander_naumov@opensuse.org> | 2017-01-21 02:31:50 +0100 |
commit | bd37ae4f27c02fc103ba14e5103ed92cc58488a4 (patch) | |
tree | d4d52adb2ef21cb497dabeac38396f8c7ecf4c5d | |
parent | 5c3d9d4b20732bac4b3a6f6f2f95ea03e63b8782 (diff) | |
download | screen-bd37ae4f27c02fc103ba14e5103ed92cc58488a4.tar.gz |
Value stored to 'i' during its initialization is never read
i.e. we initialize 'i' twice (next line)
-rw-r--r-- | src/display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.c b/src/display.c index 0915c9a..db8cb19 100644 --- a/src/display.c +++ b/src/display.c @@ -3445,7 +3445,7 @@ char *data; if (D_mouse && D_forecv) { unsigned char *bp = (unsigned char *)buf; - int x, y, i = size; + int x, y, i; /* XXX this assumes that the string is read in as a whole... */ for (i = size; i > 0; i--, bp++) |