]> err.no Git - linux-2.6/commitdiff
[IA64] fix: warning: `ql_size' might be used uninitialized
authorTony Luck <tony.luck@intel.com>
Mon, 25 Apr 2005 20:16:16 +0000 (13:16 -0700)
committerTony Luck <tony.luck@intel.com>
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 e86a8c331ee641cfe574a08fe3280213583ca028..2b7127330ae137f087892ecd77b30a6e5f0f1857 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) {