diff options
author | Oliver Braun <obr@openoffice.org> | 2001-05-15 14:43:15 +0000 |
---|---|---|
committer | Oliver Braun <obr@openoffice.org> | 2001-05-15 14:43:15 +0000 |
commit | 2f632e64bb6d7725c7d584b1e8ef5726f5738d0c (patch) | |
tree | fecf6475e122a5fd3e55fcc3fd713b0c3a331672 /sal/osl/unx/time.c | |
parent | 5874289d2f2c3015f282f5f55a3dc8acea2db4d9 (diff) |
do not check uninitialized parameter
Diffstat (limited to 'sal/osl/unx/time.c')
-rw-r--r-- | sal/osl/unx/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/unx/time.c b/sal/osl/unx/time.c index f35dbe5f0a0b..6fe703dd06b3 100644 --- a/sal/osl/unx/time.c +++ b/sal/osl/unx/time.c @@ -2,9 +2,9 @@ * * $RCSfile: time.c,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: obr $ $Date: 2001-05-02 12:35:45 $ + * last change: $Author: obr $ $Date: 2001-05-15 15:43:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -292,7 +292,7 @@ sal_Bool SAL_CALL osl_getSystemTimeFromLocalTime( TimeValue* pLocalTimeVal, Time bias = pLocalTime->tm_isdst > 0 ? timezone - 3600 : timezone; #endif - if ( (sal_Int64) pSystemTimeVal->Seconds + bias > 0 ) + if ( (sal_Int64) pLocalTimeVal->Seconds + bias > 0 ) { pSystemTimeVal->Seconds = pLocalTimeVal->Seconds + bias; pSystemTimeVal->Nanosec = pLocalTimeVal->Nanosec; |