summaryrefslogtreecommitdiff
path: root/ext/snmp/snmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/snmp/snmp.c')
-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: