Skip to content

Commit 59b5bbe

Browse files
committed
Fix uninit value
1 parent 1d0af1d commit 59b5bbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/random_ext/random_ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ PHP_METHOD(Random_NumberGenerator_XorShift128Plus, __construct)
506506
{
507507
php_random_rng *rng = Z_RANDOM_RNG_P(ZEND_THIS);
508508
zend_long seed;
509-
bool is_null = 0;
509+
bool is_null = true;
510510

511511
ZEND_PARSE_PARAMETERS_START(0, 1)
512512
Z_PARAM_OPTIONAL

0 commit comments

Comments
 (0)