aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-01 10:44:58 +0900
committernsfisis <nsfisis@gmail.com>2026-02-01 10:44:58 +0900
commit36031312f14077ca659feb30be371c9d627d1703 (patch)
treef72767a1dc318032d84abe034b82c15883b1c90e
parent6f1e639ff0092c56fb1b8ce8fe298cc5ffc32bfb (diff)
downloadducc-36031312f14077ca659feb30be371c9d627d1703.tar.gz
ducc-36031312f14077ca659feb30be371c9d627d1703.tar.zst
ducc-36031312f14077ca659feb30be371c9d627d1703.zip
chore: disable noisy warning
-rw-r--r--src/parse.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/parse.c b/src/parse.c
index 80007ed..629a39f 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -2177,6 +2177,10 @@ static AstNode* parse_initializer(Parser* p) {
}
}
+#ifndef __ducc__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-function"
+#endif
// attribute-specifier-sequence:
// { attribute-specifier }+
static AstNode* parse_attribute_specifier_sequence_opt(Parser* p) {
@@ -2187,6 +2191,9 @@ static AstNode* parse_attribute_specifier_sequence_opt(Parser* p) {
}
return attrs;
}
+#ifndef __ducc__
+#pragma GCC diagnostic pop
+#endif
// attribute-specifier:
// '[' '[' attribute-list ']' ']'