mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
Add missing noreturn attribute to various functions
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
+1
-1
@@ -552,7 +552,7 @@ static void __attribute__((noreturn)) usage(char *name, char opt)
|
||||
|
||||
#define dump_resource(res) if (res) dump_##res()
|
||||
|
||||
static void cleanup_and_exit(int ret)
|
||||
static void __attribute__((noreturn)) cleanup_and_exit(int ret)
|
||||
{
|
||||
close(drm_fd);
|
||||
exit(ret);
|
||||
|
||||
Reference in New Issue
Block a user