Skip to content

Commit 4ced542

Browse files
jmikolasgolemon
andcommitted
Update src/phongo_bson.c
Co-authored-by: Sara Golemon <pollita@php.net>
1 parent a902f10 commit 4ced542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phongo_bson.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ static void php_phongo_handle_field_path_entry_for_compound_type(php_phongo_bson
776776
static zval* resolve_enum_case(zend_class_entry* ce, const char* case_name)
777777
{
778778
zval* return_value = NULL;
779-
zend_string* c_str;
779+
zend_string* c_str = NULL;
780780
zend_class_constant* c;
781781

782782
if (!(ce->ce_flags & ZEND_ACC_ENUM)) {

0 commit comments

Comments
 (0)