Fix more compile warnings

This commit is contained in:
Jasmine Iwanek
2025-10-20 23:46:23 -04:00
parent c5c93ab90b
commit cff55b210c
3 changed files with 6 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ ddc_load_edid(char *path, uint8_t *buf, size_t size)
// Check the beginning of the file for the EDID header.
uint64_t header;
fread(&header, sizeof(header), 1, fp);
(void) !fread(&header, sizeof(header), 1, fp);
if (header == EDID_HEADER) {
// Binary format. Read as is