mirror of https://github.com/MidnightCommander/mc
(input_destroy): remove check if WInput object is NULL. This object must exist.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
589155f6bf
commit
28154dc520
|
@ -856,12 +856,6 @@ input_save_history (const gchar * event_group_name, const gchar * event_name,
|
|||
static void
|
||||
input_destroy (WInput * in)
|
||||
{
|
||||
if (in == NULL)
|
||||
{
|
||||
fprintf (stderr, "Internal error: null Input *\n");
|
||||
exit (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
input_complete_free (in);
|
||||
|
||||
/* clean history */
|
||||
|
|
Loading…
Reference in New Issue