summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2011-08-01 04:29:37 +0000
committerStanislav Malyshev <stas@php.net>2011-08-01 04:29:37 +0000
commit5c42cde3cb3daf7d001d6fe86fba05e311be1cfa (patch)
tree4522b9fd7362605ecc418eb6c16961d7456d585c /ext
parent30aa3cea6a572883ee52fe0996350cb2ca86886b (diff)
downloadphp-git-5c42cde3cb3daf7d001d6fe86fba05e311be1cfa.tar.gz
fix params parsing
Diffstat (limited to 'ext')
-rw-r--r--ext/dom/document.c3
-rw-r--r--ext/interbase/interbase.c3
-rw-r--r--ext/ldap/ldap.c2
3 files changed, 5 insertions, 3 deletions
diff --git a/ext/dom/document.c b/ext/dom/document.c
index b5402472b7..393f178882 100644
--- a/ext/dom/document.c
+++ b/ext/dom/document.c
@@ -2157,7 +2157,8 @@ static void dom_load_html(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */
dom_object *intern;
dom_doc_propsptr doc_prop;
char *source;
- int source_len, refcount, ret, options = 0;
+ int source_len, refcount, ret;
+ long options = 0;
htmlParserCtxtPtr ctxt;
id = getThis();
diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c
index 6578469852..10d3a84807 100644
--- a/ext/interbase/interbase.c
+++ b/ext/interbase/interbase.c
@@ -1125,7 +1125,8 @@ PHP_FUNCTION(ibase_drop_db)
PHP_FUNCTION(ibase_trans)
{
- unsigned short i, argn, link_cnt = 0, tpb_len = 0;
+ unsigned short i, link_cnt = 0, tpb_len = 0;
+ int argn;
char last_tpb[TPB_MAX_SIZE];
ibase_db_link **ib_link = NULL;
ibase_trans *ib_trans;
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index 04caa86da7..fa0a9f1279 100644
--- a/ext/ldap/ldap.c
+++ b/ext/ldap/ldap.c
@@ -587,7 +587,7 @@ static void php_set_opts(LDAP *ldap, int sizelimit, int timelimit, int deref, in
*/
static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope)
{
- zval *link, *base_dn, **filter, *attrs, **attr;
+ zval *link, *base_dn, **filter, *attrs = NULL, **attr;
long attrsonly, sizelimit, timelimit, deref;
char *ldap_base_dn = NULL, *ldap_filter = NULL, **ldap_attrs = NULL;
ldap_linkdata *ld = NULL;