(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:
Andrew Borodin 2022-08-03 17:07:42 +03:00
parent 589155f6bf
commit 28154dc520
1 changed files with 0 additions and 6 deletions

View File

@ -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 */