mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 08:26:22 +00:00
remove NULL check because parse_args will fail before calling cmd_export
This commit is contained in:
@@ -827,7 +827,7 @@ cmd_export(ProfWin *window, const char *const command, gchar **args)
|
|||||||
cons_show("You are not currently connected.");
|
cons_show("You are not currently connected.");
|
||||||
cons_show("");
|
cons_show("");
|
||||||
return TRUE;
|
return TRUE;
|
||||||
} else if(args[0]) {
|
} else {
|
||||||
GString *fname = g_string_new("");
|
GString *fname = g_string_new("");
|
||||||
GSList *list = NULL;
|
GSList *list = NULL;
|
||||||
int fd;
|
int fd;
|
||||||
@@ -885,8 +885,6 @@ write_error:
|
|||||||
g_slist_free(list);
|
g_slist_free(list);
|
||||||
close(fd);
|
close(fd);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
} else {
|
|
||||||
return FALSE;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user