Module Name:    src
Committed By:   pooka
Date:           Sun Apr 26 20:44:50 UTC 2009

Modified Files:
        src/sys/rump/librump/rumpkern: intr.c

Log Message:
fix uninitialized


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/rump/librump/rumpkern/intr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/rump/librump/rumpkern/intr.c
diff -u src/sys/rump/librump/rumpkern/intr.c:1.16 src/sys/rump/librump/rumpkern/intr.c:1.17
--- src/sys/rump/librump/rumpkern/intr.c:1.16	Sun Apr 26 20:41:24 2009
+++ src/sys/rump/librump/rumpkern/intr.c	Sun Apr 26 20:44:50 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.c,v 1.16 2009/04/26 20:41:24 pooka Exp $	*/
+/*	$NetBSD: intr.c,v 1.17 2009/04/26 20:44:50 pooka Exp $	*/
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.16 2009/04/26 20:41:24 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.17 2009/04/26 20:44:50 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -95,7 +95,7 @@
 void
 rump_getuptime(struct timespec *ts)
 {
-	int startgen, i;
+	int startgen, i = 0;
 
 	do {
 		startgen = clkgen;

Reply via email to