diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-10-05 10:23:08 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-10-05 10:23:08 +0000 |
commit | 2d458f7657745f661f721f5028f7726f0f76b6fb (patch) | |
tree | e55a7547ff73a6fd0be913c34a3de56b4582d40a /ASNMP | |
parent | 3e77dbf9723e52b74cbb805b2778bd8b8a782c22 (diff) | |
download | ATCD-2d458f7657745f661f721f5028f7726f0f76b6fb.tar.gz |
ChangeLogTag: Wed Oct 5 10:22:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ASNMP')
-rw-r--r-- | ASNMP/asnmp/asn1.cpp | 2 | ||||
-rw-r--r-- | ASNMP/asnmp/pdu.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ASNMP/asnmp/asn1.cpp b/ASNMP/asnmp/asn1.cpp index 59b0fa9f8bf..8a3b6f9c088 100644 --- a/ASNMP/asnmp/asn1.cpp +++ b/ASNMP/asnmp/asn1.cpp @@ -1017,7 +1017,7 @@ void cmu_snmp::add_var(struct snmp_pdu *pdu, { ACE_TRACE("cmu_snmp::add_var"); - struct variable_list *vars; + struct variable_list *vars = 0; // if we don't have a vb list ,create one if (pdu->variables == 0) { diff --git a/ASNMP/asnmp/pdu.cpp b/ASNMP/asnmp/pdu.cpp index de204e58638..cbe67dcbbab 100644 --- a/ASNMP/asnmp/pdu.cpp +++ b/ASNMP/asnmp/pdu.cpp @@ -51,7 +51,7 @@ Pdu::Pdu( Vb* pvbs, const int pvb_count): vb_count_(0), error_index_(0), validity_(0), request_id_(0), pdu_type_(0), notify_timestamp_(0), output_(0) { - int z; // looping variable + int z = 0; // looping variable // zero is ok if ( pvb_count == 0) { |