[IA64] fix: warning: `ql_size' might be used uninitialized
Tony Luck [Mon, 25 Apr 2005 20:16:16 +0000 (13:16 -0700)]
Oops.  Should have caught this before I checked it in.

Signed-off-by: Tony Luck <tony.luck@intel.com>

include/asm-ia64/pgalloc.h

index e86a8c3..2b71273 100644 (file)
@@ -29,7 +29,7 @@ DECLARE_PER_CPU(long, __pgtable_quicklist_size);
 
 static inline long pgtable_quicklist_total_size(void)
 {
-       long ql_size;
+       long ql_size = 0;
        int cpuid;
 
        for_each_online_cpu(cpuid) {