From f5758c6b575392ff5be92a2517ed5c46c770547f Mon Sep 17 00:00:00 2001 From: Underground78 Date: Sat, 1 Aug 2015 16:47:51 +0200 Subject: Revert "Go to dialog: Fix the incorrect parsing of timecodes on ICL13 builds." This reverts commit 3cf369f19452782d1b98a33a189ddbddacfb7360. We stopped supporting ICL quite a long time ago and ICL13 is old anyway. --- src/mpc-hc/GoToDlg.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mpc-hc/GoToDlg.cpp b/src/mpc-hc/GoToDlg.cpp index 33bb5367e..7d7b88f9b 100644 --- a/src/mpc-hc/GoToDlg.cpp +++ b/src/mpc-hc/GoToDlg.cpp @@ -125,10 +125,8 @@ void CGoToDlg::OnParseTimeCode() AfxGetApp()->WriteProfileInt(IDS_R_SETTINGS, IDS_RS_GOTO_LAST_USED, TYPE_TIME); - // The hh and mm are declared volatile to work around a compiler bug with ICL 13. - // It prevents the compiler to optimize out those variables from the computation. - volatile unsigned int hh = 0; - volatile unsigned int mm = 0; + unsigned int hh = 0; + unsigned int mm = 0; float ss = 0.0f; WCHAR c; // extra character to ensure the end of string was reached -- cgit v1.2.3