(input_is_empty): remove checks. WInput object must exist.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2022-08-03 17:01:09 +03:00
parent 318315399b
commit 4e245291b4
1 changed files with 0 additions and 6 deletions

View File

@ -1169,12 +1169,6 @@ input_get_text (const WInput * in)
gboolean
input_is_empty (const WInput * in)
{
if (in == NULL)
return TRUE;
/* if in != NULL, in->buffer must be created */
g_assert (in->buffer != NULL);
return in->buffer->len == 0;
}