summaryrefslogtreecommitdiffstats
path: root/3rd_party/ed25519
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-06-30 23:29:25 +0200
committerGravatar Nikias Bassen2023-06-30 23:29:25 +0200
commitf4c30d501eaf5a2c1a386af6a2295dd0029304e9 (patch)
tree407e7a369cdeaeea224ba0d6b04692ff04f8188d /3rd_party/ed25519
parent643a46c0b5b4dcf35fa764391c10ad50e1de82bc (diff)
downloadlibimobiledevice-f4c30d501eaf5a2c1a386af6a2295dd0029304e9.tar.gz
libimobiledevice-f4c30d501eaf5a2c1a386af6a2295dd0029304e9.tar.bz2
3rd_party/ed25519: Silence compiler warning about missing return value for fread
Diffstat (limited to '3rd_party/ed25519')
-rw-r--r--3rd_party/ed25519/seed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rd_party/ed25519/seed.c b/3rd_party/ed25519/seed.c
index 11a2e3e..cf252b8 100644
--- a/3rd_party/ed25519/seed.c
+++ b/3rd_party/ed25519/seed.c
@@ -30,7 +30,7 @@ int ed25519_create_seed(unsigned char *seed) {
return 1;
}
- fread(seed, 1, 32, f);
+ if(fread(seed, 1, 32, f)){}
fclose(f);
#endif