Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjonasno <jonasno@users.sourceforge.net>2011-08-07 00:31:30 +0400
committerjonasno <jonasno@users.sourceforge.net>2011-08-07 00:31:30 +0400
commitd04295c10eaf5bbff896527fd0fc0c988f7531f2 (patch)
treecc550f55c32c3cad6294ca836e81d8ad0074bdd9 /src/Subtitles
parent2ad175ced1e61ed0e9d69c003c0a86fadace8fab (diff)
fixed and optimized r3582. Sometimes cppcheck is wrong.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3601 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/Subtitles')
-rw-r--r--src/Subtitles/STS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Subtitles/STS.cpp b/src/Subtitles/STS.cpp
index d036b9d32..da609b235 100644
--- a/src/Subtitles/STS.cpp
+++ b/src/Subtitles/STS.cpp
@@ -488,7 +488,7 @@ static bool OpenSubRipper(CTextFile* file, CSimpleTextSubtitle& ret, int CharSet
}
WCHAR sep;
- int num = 0;
+ int num = 0; // This one isn't really used just assigned a new value
int hh1, mm1, ss1, ms1, hh2, mm2, ss2, ms2;
int c = swscanf(buff, L"%d%c%d%c%d%c%d --> %d%c%d%c%d%c%d\n",
&hh1, &sep, &mm1, &sep, &ss1, &sep, &ms1,