From e23c0b1c5753a420789a5a6420b15b77cf7301cf Mon Sep 17 00:00:00 2001 From: GrieferAtWork Date: Sun, 24 Nov 2024 19:46:09 +0100 Subject: [PATCH] Fix GCC warning --- src/deemon/objects/seq/default-api-operators.c.inl | 2 +- src/deemon/objects/seq/default-api.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deemon/objects/seq/default-api-operators.c.inl b/src/deemon/objects/seq/default-api-operators.c.inl index 01f87b52..e0c68bbc 100644 --- a/src/deemon/objects/seq/default-api-operators.c.inl +++ b/src/deemon/objects/seq/default-api-operators.c.inl @@ -44,7 +44,7 @@ DeeSeq_DefaultOperatorIterWithEmpty(DeeObject *__restrict self) { return_empty_iterator; } -INTERN WUNUSED NONNULL((1)) DREF DeeObject *DCALL +INTERN /*WUNUSED*/ NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultOperatorIterWithError(DeeObject *__restrict self) { err_seq_unsupportedf(self, "operator iter"); return NULL; diff --git a/src/deemon/objects/seq/default-api.h b/src/deemon/objects/seq/default-api.h index c330096a..44e52e5c 100644 --- a/src/deemon/objects/seq/default-api.h +++ b/src/deemon/objects/seq/default-api.h @@ -1154,7 +1154,7 @@ INTDEF int DCALL none_i1(void *UNUSED(a)); INTDEF WUNUSED NONNULL((1)) int DCALL DeeSeq_DefaultOperatorBoolWithError(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultOperatorIterWithEmpty(DeeObject *__restrict self); -INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultOperatorIterWithError(DeeObject *__restrict self); +INTDEF /*WUNUSED*/ NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultOperatorIterWithError(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultOperatorSizeObWithSeqOperatorSize(DeeObject *__restrict self); INTDEF WUNUSED NONNULL((1)) DREF DeeObject *DCALL DeeSeq_DefaultOperatorSizeObWithEmpty(DeeObject *__restrict self);