cvs: /php4/ext/snmp snmp.c
| From: | Sascha Schumann | Date: | Sun, 12 Dec 1999 11:02:37 +0000 |
| Subject: | cvs: /php4/ext/snmp snmp.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7818@lists.php.net to get a copy of this message | ||
sas Sun Dec 12 06:02:37 1999 EDT
Modified files:
/php4/ext/snmp snmp.c
Log:
Initialize variables
Index: php4/ext/snmp/snmp.c
diff -u php4/ext/snmp/snmp.c:1.12 php4/ext/snmp/snmp.c:1.13
--- php4/ext/snmp/snmp.c:1.12 Sat Dec 4 14:16:02 1999
+++ php4/ext/snmp/snmp.c Sun Dec 12 06:02:07 1999
@@ -17,7 +17,7 @@
| Steven Lawrance <slawrance@technologist.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.12 1999/12/04 19:16:02 sas Exp $ */
+/* $Id: snmp.c,v 1.13 1999/12/12 11:02:07 sas Exp $ */
#include "php.h"
#if defined(COMPILE_DL)
@@ -135,8 +135,8 @@
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: