Mark Usage() as a noreturn function.

This commit is contained in:
Bartosz Taudul 2020-09-20 20:08:39 +02:00
parent 7da17680ae
commit a1916a7c6c

View File

@ -26,7 +26,7 @@ void SigInt( int )
disconnect = true;
}
void Usage()
[[noreturn]] void Usage()
{
printf( "Usage: capture -o output.tracy [-a address] [-p port] [-f]\n" );
exit( 1 );