mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-23 11:42:09 +03:00
(background_attention): fix usage of uninitialized variable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
91105137f7
commit
1e17ba4cf7
@ -198,7 +198,7 @@ background_attention (int fd, void *closure)
|
||||
void *pointer;
|
||||
} routine;
|
||||
/* void *routine; */
|
||||
int argc, i, result, status;
|
||||
int argc, i, status;
|
||||
char *data[MAXCALLARGS];
|
||||
ssize_t bytes, ret;
|
||||
struct TaskList *p;
|
||||
@ -289,6 +289,8 @@ background_attention (int fd, void *closure)
|
||||
/* Handle the call */
|
||||
if (type == Return_Integer)
|
||||
{
|
||||
int result = 0;
|
||||
|
||||
if (!have_ctx)
|
||||
switch (argc)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user