From e12a4295cca679fca7845decf9d7759e420d18b9 Mon Sep 17 00:00:00 2001 From: JustVugg Date: Tue, 14 Jul 2026 18:03:56 +0200 Subject: [PATCH] glm.c: silence unused-variable 'c' in hwinfo_emit (reported in #148 on Darwin, present on Linux too) Co-Authored-By: Claude Opus 4.8 --- c/glm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/glm.c b/c/glm.c index 471fd50..d6e5716 100644 --- a/c/glm.c +++ b/c/glm.c @@ -3677,7 +3677,7 @@ static void ehit_mark(Model *m, int layer, int eid){ /* HWINFO: hardware snapshot for the web dashboard — emitted once at READY. */ static void hwinfo_emit(Model *m){ - Cfg *c=&m->c; + Cfg *c=&m->c; (void)c; /* silence -Wunused on builds without /proc (#148 report) */ /* CPU */ char cpu[256]=""; FILE *ci=fopen("/proc/cpuinfo","r"); if(ci){ char ln[256];