summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-31 18:49:29 +0100
committerAnatol Belski <ab@php.net>2014-10-31 19:36:21 +0100
commit073c5e09976043890d81a2d0432b9cd5eef1afec (patch)
tree6fafdf3643b2e1ae8b8e41a2f5b132ea8275bb03 /Zend/zend_compile.c
parentcd574ca4677a101a51636cda26660fe2b74e3fa1 (diff)
downloadphp-git-073c5e09976043890d81a2d0432b9cd5eef1afec.tar.gz
fix warning not all control paths return a value
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 78c42f333d..babf39ff40 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -4639,6 +4639,8 @@ static HashTable *zend_get_import_ht(uint32_t type TSRMLS_DC) /* {{{ */
return CG(current_import_const);
EMPTY_SWITCH_DEFAULT_CASE()
}
+
+ return NULL;
}
/* }}} */
@@ -4653,6 +4655,8 @@ static char *zend_get_use_type_str(uint32_t type) /* {{{ */
return " const";
EMPTY_SWITCH_DEFAULT_CASE()
}
+
+ return " unknown";
}
/* }}} */