From c7cde5f409626609665cbb847df3e0c18c896412 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 3 Mar 2020 10:59:01 +0900 Subject: [PATCH] [qfcc] Pass gcc's purity test *sigh* --- tools/qfcc/source/method.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/method.c b/tools/qfcc/source/method.c index d1f8dd5cd..c5bd8b334 100644 --- a/tools/qfcc/source/method.c +++ b/tools/qfcc/source/method.c @@ -205,7 +205,7 @@ new_methodlist (void) return l; } -static int +static int __attribute__((pure)) method_in_list (methodlist_t *method_list, method_t *method) { method_t *m;