From a8ccc2aa89c78108566c67b9e853797ea451f9c8 Mon Sep 17 00:00:00 2001 From: hwspeedy Date: Fri, 24 May 2024 10:20:25 +0200 Subject: FIX GCC Warnings, added more checking to gcc flags --- modules/computer/ubuntu_flavors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/computer/ubuntu_flavors.c') diff --git a/modules/computer/ubuntu_flavors.c b/modules/computer/ubuntu_flavors.c index ac67d665..c88dc5ff 100644 --- a/modules/computer/ubuntu_flavors.c +++ b/modules/computer/ubuntu_flavors.c @@ -66,7 +66,7 @@ GSList *ubuntu_flavors_scan(void) { &out, &err, &exit_status, NULL); if (spawned) { p = out; - while(next_nl = strchr(p, '\n')) { + while((next_nl = strchr(p, '\n'))) { strend(p, '\n'); int mc = 0; char pkg[32] = ""; -- cgit v1.2.3