aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-07-26 15:04:24 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2012-07-27 09:16:36 +0200
commit48fcb53c5d507ab421a5a5461722b610b6e40233 (patch)
tree15853682d7c900f8eb5e6ea51ceba11ff6137548 /src
parentd51f974e7bf9da57953b234e8600520c57c629ed (diff)
x86emu: Use NULL instead of 0 when assigning pointer
Change-Id: Ie79b9aa79d45dd10c2e5be7f58eed970c243060a Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/1361 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src')
-rw-r--r--src/devices/oprom/x86emu/ops2.c2
1 files changed, 1 insertions, 1 deletions
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();