diff options
author | Kristian H. Kristensen <[email protected]> | 2019-04-10 13:06:39 -0700 |
---|---|---|
committer | Kristian H. Kristensen <[email protected]> | 2019-04-18 11:46:13 -0700 |
commit | 18ce6ac6328db11bc68eb5689a28a43f7479cf7f (patch) | |
tree | 7157e72f9963619c0cd0fa5e7960b59d3a1cdb4b /src/freedreno/ir3/ir3_context.h | |
parent | c6463f8ac2a9f85874c882fd5307eefb29f86bc1 (diff) |
freedreno/ir3: Mark ir3_context_error() as NORETURN
Fixes a few warnings.
Signed-off-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/freedreno/ir3/ir3_context.h')
-rw-r--r-- | src/freedreno/ir3/ir3_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/ir3/ir3_context.h b/src/freedreno/ir3/ir3_context.h index 81715f7fa11..5589386edfa 100644 --- a/src/freedreno/ir3/ir3_context.h +++ b/src/freedreno/ir3/ir3_context.h @@ -160,7 +160,7 @@ struct ir3_instruction * ir3_create_collect(struct ir3_context *ctx, void ir3_split_dest(struct ir3_block *block, struct ir3_instruction **dst, struct ir3_instruction *src, unsigned base, unsigned n); -void ir3_context_error(struct ir3_context *ctx, const char *format, ...); +NORETURN void ir3_context_error(struct ir3_context *ctx, const char *format, ...); #define compile_assert(ctx, cond) do { \ if (!(cond)) ir3_context_error((ctx), "failed assert: "#cond"\n"); \ |