forked from mia/Aegisub
Eliminate some probably spurious uninitialized variable warnings
Originally committed to SVN as r5875.
This commit is contained in:
parent
c119d2d84b
commit
0db92549d7
1 changed files with 2 additions and 2 deletions
|
@ -700,8 +700,8 @@ void SubsEditBox::SetTag(wxString tag, wxString value, bool atEnd) {
|
|||
int start = atEnd ? selend : selstart;
|
||||
int blockn = BlockAtPos(line->Text, start);
|
||||
|
||||
AssDialogueBlockPlain *plain;
|
||||
AssDialogueBlockOverride *ovr;
|
||||
AssDialogueBlockPlain *plain = 0;
|
||||
AssDialogueBlockOverride *ovr = 0;
|
||||
while (blockn >= 0) {
|
||||
AssDialogueBlock *block = line->Blocks[blockn];
|
||||
if (dynamic_cast<AssDialogueBlockDrawing*>(block))
|
||||
|
|
Loading…
Reference in a new issue