Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/dist/lib/libdtrace/common PR/49667: Henn...



details:   https://anonhg.NetBSD.org/src/rev/5373387a6d0e
branches:  trunk
changeset: 336150:5373387a6d0e
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 14 15:55:05 2015 +0000

description:
PR/49667: Henning Petersen: Missing initialization of values in dt_parser.c

diffstat:

 external/cddl/osnet/dist/lib/libdtrace/common/dt_parser.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 7fe046edfc40 -r 5373387a6d0e external/cddl/osnet/dist/lib/libdtrace/common/dt_parser.c
--- a/external/cddl/osnet/dist/lib/libdtrace/common/dt_parser.c Sat Feb 14 15:53:23 2015 +0000
+++ b/external/cddl/osnet/dist/lib/libdtrace/common/dt_parser.c Sat Feb 14 15:55:05 2015 +0000
@@ -3081,8 +3081,8 @@
        int op = dnp->dn_op;
 
        ctf_membinfo_t m;
-       ctf_file_t *ctfp;
-       ctf_id_t type;
+       ctf_file_t *ctfp = NULL;
+       ctf_id_t type = 0;
        int kind, val, uref;
        dt_ident_t *idp;
 



Home | Main Index | Thread Index | Old Index