Skip to content

Commit

Permalink
Output.c: Missing parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
Sapd committed Apr 1, 2024
1 parent 1e9e1e5 commit d3d104d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit d3d104d

Please sign in to comment.