[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

@@ -263,7 +263,7 @@ static int persistent_cache_open_read(rdpPersistentCache* persistent)
else
persistent->version = 2;
fseek(persistent->fp, 0, SEEK_SET);
(void)fseek(persistent->fp, 0, SEEK_SET);
if (persistent->version == 3)
{
@@ -281,7 +281,7 @@ static int persistent_cache_open_read(rdpPersistentCache* persistent)
offset = 0;
}
fseek(persistent->fp, offset, SEEK_SET);
(void)fseek(persistent->fp, offset, SEEK_SET);
return status;
}
@@ -336,7 +336,7 @@ int persistent_cache_close(rdpPersistentCache* persistent)
WINPR_ASSERT(persistent);
if (persistent->fp)
{
fclose(persistent->fp);
(void)fclose(persistent->fp);
persistent->fp = NULL;
}