summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-12 11:02:07 +0000
committerSascha Schumann <sas@php.net>1999-12-12 11:02:07 +0000
commitecb6e75addb0bc11375b88883c50f9d2008de7da (patch)
treeb25c91aef4004dda20e051cbcfbdb99a54751afa
parent0233d7cf8232ff940616e458f2928ddafddad1b7 (diff)
downloadphp-git-ecb6e75addb0bc11375b88883c50f9d2008de7da.tar.gz
Initialize variables
-rw-r--r--ext/snmp/snmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index 5468809c1e..c5a2d3faca 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -135,8 +135,8 @@ void _php3_snmp(INTERNAL_FUNCTION_PARAMETERS, int st) {
long timeout=SNMP_DEFAULT_TIMEOUT;
long retries=SNMP_DEFAULT_RETRIES;
int myargc = ARG_COUNT(ht);
- char type;
- char *value;
+ char type = (char) 0;
+ char *value = (char *) 0;
switch(st) {
case 4: