diff -up shippy-1.5.0/shippy.c~ shippy-1.5.0/shippy.c --- shippy-1.5.0/shippy.c~ 2019-05-20 13:00:16.000000000 +0200 +++ shippy-1.5.0/shippy.c 2019-05-20 13:03:32.334992540 +0200 @@ -1288,13 +1288,11 @@ void DoAi(int number) void StoreHS() { - size_t silence_warnings; - if (highscore_fp == NULL) return; rewind(highscore_fp); - silence_warnings = fwrite(winners, sizeof(struct HISCORE), 14, highscore_fp); + (void)fwrite(winners, sizeof(struct HISCORE), 14, highscore_fp); } void RestoreHS() @@ -1647,7 +1645,7 @@ void ExecShippy() level = 0; gameover = 0; operational = 0; - waitforkey[0] = waitforkey[0] = 30; + waitforkey[0] = waitforkey[1] = 30; return; } else