Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/bebox/stand/boot uninitialized var, found by Mootja...



details:   https://anonhg.NetBSD.org/src/rev/1a4657cd4bf7
branches:  trunk
changeset: 824987:1a4657cd4bf7
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun Jun 25 12:15:04 2017 +0000

description:
uninitialized var, found by Mootja; don't know which value to put, so add
a big XXX

diffstat:

 sys/arch/bebox/stand/boot/siop.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r fc067ff7d3aa -r 1a4657cd4bf7 sys/arch/bebox/stand/boot/siop.c
--- a/sys/arch/bebox/stand/boot/siop.c  Sun Jun 25 12:11:30 2017 +0000
+++ b/sys/arch/bebox/stand/boot/siop.c  Sun Jun 25 12:15:04 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siop.c,v 1.5 2014/12/12 15:57:30 phx Exp $     */
+/*     $NetBSD: siop.c,v 1.6 2017/06/25 12:15:04 maxv Exp $    */
 /*
  * Copyright (c) 2010 KIYOHARA Takashi
  * All rights reserved.
@@ -993,6 +993,7 @@
                        error = 0;
                        break;
                case SKEY_ABORTED_COMMAND:
+                       /* XXX XXX initialize 'error' */
                        break;
                case SKEY_VOLUME_OVERFLOW:
                        error = ENOSPC;



Home | Main Index | Thread Index | Old Index