[warnings] fix cert-err33-c

Fix unused return values, cast to void if on purpose
This commit is contained in:
akallabeth
2024-08-26 15:39:33 +02:00
parent 7503efed27
commit 1d33095500
172 changed files with 1146 additions and 1080 deletions

View File

@@ -167,7 +167,7 @@ static char* rdtk_font_load_descriptor_file(const char* filename, size_t* pSize)
if (fileSize.i64 < 1)
{
fclose(fp);
(void)fclose(fp);
return NULL;
}
@@ -175,7 +175,7 @@ static char* rdtk_font_load_descriptor_file(const char* filename, size_t* pSize)
if (!buffer)
{
fclose(fp);
(void)fclose(fp);
return NULL;
}
@@ -186,7 +186,7 @@ static char* rdtk_font_load_descriptor_file(const char* filename, size_t* pSize)
readSize = fileSize.s;
}
fclose(fp);
(void)fclose(fp);
if (readSize < 1)
{