From d5d84747e59d8c426757dbbb00fefa053d790616 Mon Sep 17 00:00:00 2001 From: bjarni Date: Wed, 29 Mar 2006 16:56:38 +0000 Subject: (svn r4151) -Fix: [PowerPC] removed an incorrect uninitialized var used warning in os_timer --- os_timer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/os_timer.c b/os_timer.c index 89c25d010..210a43ab7 100644 --- a/os_timer.c +++ b/os_timer.c @@ -41,8 +41,7 @@ uint64 _rdtsc(void) #if defined(__POWERPC__) && !defined(RDTSC_AVAILABLE) uint64 _rdtsc(void) { - uint32 high, low; - uint32 high2 = 0; + uint32 high = 0, high2 = 0, low; /* PPC does not have rdtsc, so we cheat by reading the two 32-bit time-counters * it has, 'Move From Time Base (Upper)'. Since these are two reads, in the * very unlikely event that the lower part overflows to the upper part while we -- cgit v1.2.3-70-g09d2