hedgewars/uMisc.pas
changeset 12626 d972b31f8881
parent 11828 0fba6cb098a1
child 12860 1b2b84315d27
child 14813 9443dc6663ba
--- a/hedgewars/uMisc.pas	Sat Sep 30 20:31:07 2017 +0200
+++ b/hedgewars/uMisc.pas	Sat Sep 30 21:54:47 2017 +0200
@@ -164,6 +164,7 @@
 Rewrite(f, 1);
 if IOResult = 0 then
     begin
+    writeResult:= 0; // suppress fpc hint
     BlockWrite(f, head, sizeof(head), writeResult);
     BlockWrite(f, image^.buffer^, size, writeResult);
     Close(f);