Skip to content

Commit ca42df6

Browse files
committed
fix warning noreturn func does return
1 parent 6216749 commit ca42df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/include/ggml.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
extern "C" {
316316
#endif
317317

318-
GGML_API void ggml_abort(const char * file, int line, const char * fmt, ...);
318+
GGML_API void ggml_abort(const char * file, int line, const char * fmt, ...) __attribute__((noreturn));
319319
enum ggml_status {
320320
GGML_STATUS_ALLOC_FAILED = -2,
321321
GGML_STATUS_FAILED = -1,

0 commit comments

Comments
 (0)