From: David Schleef Date: Tue, 6 Oct 2009 21:26:22 +0000 (-0700) Subject: arm: another compile fix X-Git-Tag: merge-base~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f4b6e06ad531997924e70be22dc0e11a3bddc59;p=platform%2Fupstream%2Forc.git arm: another compile fix --- diff --git a/orc/orccpu-arm.c b/orc/orccpu-arm.c index 994d4b6..d1d9f28 100644 --- a/orc/orccpu-arm.c +++ b/orc/orccpu-arm.c @@ -123,7 +123,6 @@ orc_cpu_detect_arch(void) { #ifdef __linux__ int arm_implementer = 0; - int arm_arch; char *cpuinfo; char *s; @@ -149,6 +148,7 @@ orc_cpu_detect_arch(void) #if 0 s = get_cpuinfo_line(cpuinfo, "CPU architecture"); if (s) { + int arm_arch; arm_arch = strtoul (s, NULL, 0); if (arm_arch >= 6) orc_cpu_flags |= ORC_CPU_FLAG_ARM6;