From d3d104d67caf975da26c2e59b9d4bfd0df39d40b Mon Sep 17 00:00:00 2001 From: Denis Arnst Date: Mon, 1 Apr 2024 15:09:27 +0200 Subject: [PATCH] Output.c: Missing parentheses --- src/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output.c b/src/output.c index 735c1ae..168ab74 100644 --- a/src/output.c +++ b/src/output.c @@ -113,7 +113,7 @@ void output(DeviceList* deviceList, bool print_capabilities, OutputType output) } // Supress static analysis warning - assert(infos != NULL && status.device_count > 0 || infos == NULL && status.device_count == 0); + assert((infos != NULL && status.device_count > 0) || (infos == NULL && status.device_count == 0)); // Iterate through all devices for (int deviceIndex = 0; deviceIndex < num_devices; deviceIndex++) {