(arg_match_long) Use UNREACHABLE() macro to mark up unreachable code
This commit is contained in:

committed by
Love Hornquist Astrand

parent
4332f79a82
commit
867a1533be
@@ -474,7 +474,7 @@ arg_match_long(struct getargs *args, size_t num_args,
|
||||
|
||||
default:
|
||||
abort ();
|
||||
return 0; /* Not-reached */
|
||||
UNREACHABLE(return 0);
|
||||
}
|
||||
|
||||
/* not reached */
|
||||
|
Reference in New Issue
Block a user