Skip to content
Browse files

fx_cast_spell_on_condition: fixed potential uninited var use

coverity 61064 from ff05915
  • Loading branch information...
1 parent 1877eb5 commit 69738d9025258644b09c04c0d4f07f401caf8fbe @lynxlynxlynx lynxlynxlynx committed Aug 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gemrb/plugins/FXOpcodes/FXOpcodes.cpp
View
2 gemrb/plugins/FXOpcodes/FXOpcodes.cpp
@@ -5850,7 +5850,7 @@ int fx_cast_spell_on_condition (Scriptable* Owner, Actor* target, Effect* fx)
return FX_APPLIED;
}
- bool condition;
+ bool condition = false;
bool per_round = true; // 4xxx trigger?
const TriggerEntry *entry = NULL;
ieDword timeOfDay;

0 comments on commit 69738d9

Please sign in to comment.
Something went wrong with that request. Please try again.