diff options
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/effects.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index b487603a5c..fd10393667 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -4049,7 +4049,7 @@ static void _catchup_monster_moves(monsters *mon, int turns) // player, and a quarter has gone to sleep. A given monster has a // 95% chance of forgetting the player after 4*x turns, and going to // sleep after 10*x turns. - int x; + int x = 0; // Quiet unitialized variable compiler warning. switch (mons_intel(mon)) { case I_HIGH: |