From da2c7b719ed1d5e887853911f5cd985168a39922 Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Fri, 4 Oct 2024 16:04:45 +0100 Subject: [PATCH] DRCsubcell.c: fix: warning: value computed is not used Looks like a logic bug hidden in the warning. GCC14 -Wall cleanup series [-Wunused-value] --- drc/DRCsubcell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drc/DRCsubcell.c b/drc/DRCsubcell.c index a301da4b..cae91269 100644 --- a/drc/DRCsubcell.c +++ b/drc/DRCsubcell.c @@ -965,5 +965,5 @@ drcIncCount(def, area, rule, count) DRCCookie *rule; int *count; { - *count++; + (*count)++; }