From 48fcb53c5d507ab421a5a5461722b610b6e40233 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 26 Jul 2012 15:04:24 -0700 Subject: x86emu: Use NULL instead of 0 when assigning pointer Change-Id: Ie79b9aa79d45dd10c2e5be7f58eed970c243060a Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/1361 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/devices/oprom/x86emu/ops2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/oprom/x86emu/ops2.c b/src/devices/oprom/x86emu/ops2.c index f559874c73..29c2a64054 100644 --- a/src/devices/oprom/x86emu/ops2.c +++ b/src/devices/oprom/x86emu/ops2.c @@ -336,7 +336,7 @@ static void x86emuOp2_set_byte(u8 op2) int mod, rl, rh; uint destoffset; u8 *destreg; - const char *X86EMU_DEBUG_ONLY(name) = 0; + const char *X86EMU_DEBUG_ONLY(name) = NULL; int cond = 0; START_OF_INSTR(); -- cgit v1.2.3