From 1151cf795ec93ec3a02da4575d8f0e8c5b615a8f Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Wed, 12 Aug 2009 16:23:35 +0000 Subject: [PATCH] the time2=time assignment seems not to be necessary --- WEGA/src/cmd/standalone/sa.timer/common/u130.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/WEGA/src/cmd/standalone/sa.timer/common/u130.c b/WEGA/src/cmd/standalone/sa.timer/common/u130.c index b452fa1..4e13ed5 100644 --- a/WEGA/src/cmd/standalone/sa.timer/common/u130.c +++ b/WEGA/src/cmd/standalone/sa.timer/common/u130.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: u130.c,v 1.7 2009/08/12 04:54:25 olivleh1 Exp $ + * $Id: u130.c,v 1.8 2009/08/12 16:23:35 olivleh1 Exp $ */ #include @@ -46,11 +46,8 @@ u130_set(time) long time; { struct tm *clktime; - long time2; - - time2=time; - clktime = gmtime(&time2); + clktime = gmtime(&time); if(clktime->tm_year > 100) clktime->tm_year -= 100; clktime->tm_mon ++;