Source-Changes-HG archive

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

[src/trunk]: src/dist/smbfs/lib/smb add a gcc XXX initialization



details:   https://anonhg.NetBSD.org/src/rev/0633dfcbe862
branches:  trunk
changeset: 790800:0633dfcbe862
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Oct 21 15:32:41 2013 +0000

description:
add a gcc XXX initialization

diffstat:

 dist/smbfs/lib/smb/rap.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r c556ef74575a -r 0633dfcbe862 dist/smbfs/lib/smb/rap.c
--- a/dist/smbfs/lib/smb/rap.c  Mon Oct 21 15:31:26 2013 +0000
+++ b/dist/smbfs/lib/smb/rap.c  Mon Oct 21 15:32:41 2013 +0000
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: rap.c,v 1.8 2013/10/21 14:57:56 christos Exp $");
+__RCSID("$NetBSD: rap.c,v 1.9 2013/10/21 15:32:41 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/errno.h>
@@ -280,7 +280,7 @@
 {
        char *p = rap->r_nparam;
        char ptype = *p;
-       int error, plen;
+       int error, plen = 0;    /* XXX: gcc */
 
        error = smb_rap_parserpparam(p, &p, &plen);
        if (error)



Home | Main Index | Thread Index | Old Index