Source-Changes-HG archive

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

[src/trunk]: src/lib/libedit/TEST Initialize res (Kamil Dudka)



details:   https://anonhg.NetBSD.org/src/rev/12cafcaade64
branches:  trunk
changeset: 771299:12cafcaade64
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Nov 18 20:30:01 2011 +0000

description:
Initialize res (Kamil Dudka)

diffstat:

 lib/libedit/TEST/wtc1.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 19d628ddb83b -r 12cafcaade64 lib/libedit/TEST/wtc1.c
--- a/lib/libedit/TEST/wtc1.c   Fri Nov 18 20:28:17 2011 +0000
+++ b/lib/libedit/TEST/wtc1.c   Fri Nov 18 20:30:01 2011 +0000
@@ -62,7 +62,7 @@
        char *buf, *bptr;
        const LineInfoW *lf = el_wline(el);
        int len, mblen, i;
-       unsigned char res;
+       unsigned char res = 0;
        wchar_t dir[1024];
 
        /* Find the last word */



Home | Main Index | Thread Index | Old Index