XXX: Init dummy variable that we only use in asm() to pacify
XXX: -Wuninitialized. There must be a better way.
This commit is contained in:
parent
05abd69c85
commit
e9dc4000d1
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kloader_machdep.c,v 1.8 2003/11/01 02:29:08 uwe Exp $ */
|
||||
/* $NetBSD: kloader_machdep.c,v 1.9 2003/11/01 03:24:12 uwe Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
|
||||
@ -34,7 +34,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: kloader_machdep.c,v 1.8 2003/11/01 02:29:08 uwe Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: kloader_machdep.c,v 1.9 2003/11/01 03:24:12 uwe Exp $");
|
||||
|
||||
#include "debug_kloader.h"
|
||||
|
||||
@ -58,7 +58,7 @@ void \
|
||||
kloader_sh ## cpu ## _boot(struct kloader_bootinfo *kbi, \
|
||||
struct kloader_page_tag *p) \
|
||||
{ \
|
||||
int tmp; \
|
||||
int tmp = 0; /* XXX: -Wuninitialized */ \
|
||||
\
|
||||
/* Disable interrupt. block exception. */ \
|
||||
__asm__ __volatile__( \
|
||||
|
Loading…
Reference in New Issue
Block a user