Skip to content

Commit 6481691

Browse files
committed
CID-24873: Unreachable code whoopsy!
1 parent c528ba8 commit 6481691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bson.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ PHP_FUNCTION(bson_encode)
567567
break;
568568
}
569569

570-
RETURN_STRINGL((const char *) bson_get_data(bson), bson->len, 1);
570+
RETVAL_STRINGL((const char *) bson_get_data(bson), bson->len, 1);
571571
bson_destroy(bson);
572572
}
573573
/* }}} */

0 commit comments

Comments
 (0)