From 80042cc0e9786fe8dcabe0b8f106183f8df19355 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 10 Aug 2019 11:56:57 +0100 Subject: aTime.tm_wday gets overwritten anyway MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit so drop the first write in favor of the second Change-Id: Iac906d806a66e010e8352139b555aef6078bda02 Reviewed-on: https://gerrit.libreoffice.org/77235 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sal/osl/unx/time.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'sal/osl/unx') diff --git a/sal/osl/unx/time.cxx b/sal/osl/unx/time.cxx index 490865d9a859..a77015614e74 100644 --- a/sal/osl/unx/time.cxx +++ b/sal/osl/unx/time.cxx @@ -127,7 +127,6 @@ sal_Bool SAL_CALL osl_getTimeValueFromDateTime( const oslDateTime* pDateTime, Ti aTime.tm_min = pDateTime->Minutes; aTime.tm_hour = pDateTime->Hours; aTime.tm_mday = pDateTime->Day; - aTime.tm_wday = pDateTime->DayOfWeek; if ( pDateTime->Month > 0 ) aTime.tm_mon = pDateTime->Month - 1; -- cgit