Kaydet (Commit) e118630f authored tarafından Caolán McNamara's avatar Caolán McNamara

reduce the scope a bit further

üst 935c7c07
......@@ -76,10 +76,9 @@ extern "C" BOOL TimeValueToFileTime(const TimeValue *cpTimeVal, FILETIME *pFTime
if ( SystemTimeToFileTime(&BaseSysTime, &BaseFileTime) )
{
__int64 localTime;
__int64 timeValue;
localTime=cpTimeVal->Seconds*(__int64)10000000+cpTimeVal->Nanosec/100;
__int64 localTime = cpTimeVal->Seconds*(__int64)10000000+cpTimeVal->Nanosec/100;
*(__int64 *)&FTime=localTime;
fSuccess = 0 <= (timeValue= *((__int64 *)&BaseFileTime) + *((__int64 *) &FTime));
if (fSuccess)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment