summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-13 11:01:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-13 11:02:00 +0100
commite118630f22521356c405e29c13b5d7300da1b24f (patch)
tree2511b1f16c81cdbf5055fec7017dc574c43e4e85 /sal
parent935c7c0714ce2e5799292d193a2be0e175d1d80c (diff)
reduce the scope a bit further
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/file_dirvol.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/osl/w32/file_dirvol.cxx b/sal/osl/w32/file_dirvol.cxx
index e5852eb45c6b..8e3ea7f9f284 100644
--- a/sal/osl/w32/file_dirvol.cxx
+++ b/sal/osl/w32/file_dirvol.cxx
@@ -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)