Add missing [[noreturn]] to log_file_error()
authorXiretza <xiretza@xiretza.xyz>
Fri, 19 Jun 2020 09:46:06 +0000 (11:46 +0200)
committerXiretza <xiretza@xiretza.xyz>
Fri, 19 Jun 2020 09:46:06 +0000 (11:46 +0200)
commit817411044a689cc26a5444a108f4f66c6484f632
treef95fb6ee8826f74df945a033ea2161b0fab6f82c
parentede4b10da8fdbdcff900b93c6c723516901483ff
Add missing [[noreturn]] to log_file_error()

Previously this was tagged only with YS_ATTRIBUTE(noreturn), but not
YS_NORETURN, so it got lost in #2173, resulting in warnings in
frontends/ast/simplify.cc:

frontends/ast/simplify.cc:267:1: warning: function declared 'noreturn' should not return [-Winvalid-noreturn]
}
^
frontends/ast/simplify.cc:379:1: warning: function declared 'noreturn' should not return [-Winvalid-noreturn]
}
^
kernel/log.h