mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
(vfs_die): cleanup no attribute noreturn warning.
utilvfs.c: In function 'vfs_die': utilvfs.c:354:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] vfs_die (const char *m) ^~~~~~~ Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
b91ab44b43
commit
7e689e8e43
@ -350,8 +350,7 @@ vfs_url_split (const char *path, int default_port, vfs_url_flags_t flags)
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
void
|
||||
vfs_die (const char *m)
|
||||
void __attribute__ ((noreturn)) vfs_die (const char *m)
|
||||
{
|
||||
message (D_ERROR, _("Internal error:"), "%s", m);
|
||||
exit (EXIT_FAILURE);
|
||||
|
Loading…
Reference in New Issue
Block a user