Christian Grothoff 15 lat temu
rodzic
commit
ee092d7c12

+ 1 - 1
src/examples/fileserver_example_dirs.c

@@ -35,7 +35,7 @@ file_reader (void *cls, uint64_t pos, char *buf, int max)
 {
   FILE *file = cls;
 
-  fseek (file, pos, SEEK_SET);
+  (void) fseek (file, pos, SEEK_SET);
   return fread (buf, 1, max, file);
 }
 

+ 1 - 1
src/examples/https_fileserver_example.c

@@ -101,7 +101,7 @@ file_reader (void *cls, uint64_t pos, char *buf, int max)
 {
   FILE *file = cls;
 
-  fseek (file, pos, SEEK_SET);
+  (void) fseek (file, pos, SEEK_SET);
   return fread (buf, 1, max, file);
 }