[util] Remove unnecessary check

pull/3135/head
Behdad Esfahbod 4 years ago
parent fd0778aa2a
commit 23298bc846
  1. 3
      util/text-options.hh

@ -139,8 +139,7 @@ text_options_t::get_line (unsigned int *len)
if (!fp)
{
if (!text_file)
fail (true, "At least one of text or text-file must be set");
assert (text_file);
if (0 != strcmp (text_file, "-"))
fp = fopen (text_file, "r");

Loading…
Cancel
Save