forked from mia/Aegisub
Add empty {}'s after while statements to silence warnings (and for safety!
Originally committed to SVN as r3456.
This commit is contained in:
parent
586f2297fc
commit
aacc50702f
1 changed files with 2 additions and 2 deletions
|
@ -89,14 +89,14 @@ void AssTime::ParseASS (const wxString text) {
|
||||||
try {
|
try {
|
||||||
// Hours
|
// Hours
|
||||||
if (colons == 2) {
|
if (colons == 2) {
|
||||||
while (text[end++] != _T(':'));
|
while (text[end++] != _T(':')) {};
|
||||||
th = AegiStringToInt(text,pos,end);
|
th = AegiStringToInt(text,pos,end);
|
||||||
pos = end;
|
pos = end;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Minutes
|
// Minutes
|
||||||
if (colons >= 1) {
|
if (colons >= 1) {
|
||||||
while (text[end++] != _T(':'));
|
while (text[end++] != _T(':')) {};
|
||||||
tm = AegiStringToInt(text,pos,end);
|
tm = AegiStringToInt(text,pos,end);
|
||||||
pos = end;
|
pos = end;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue