mirror of
https://github.com/ceph/ceph
synced 2025-03-08 01:10:10 +00:00
Merge pull request #19348 from adamemerson/wip-murdering-diagnostics
Add noreturn attribute to silence uninitialized warning Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
1b9ba1a5fd
@ -235,7 +235,7 @@ void usage(ostream& out)
|
||||
|
||||
unsigned default_op_size = 1 << 22;
|
||||
|
||||
static void usage_exit()
|
||||
[[noreturn]] static void usage_exit()
|
||||
{
|
||||
usage(cerr);
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user