Skip to content

Commit 2ddc54a

Browse files
committed
silence warning that result may be uninitialized
1 parent 72e1960 commit 2ddc54a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zend/value.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Value::~Value()
292292
Php::Zval Value::detach(bool keeprefcount)
293293
{
294294
// the return value
295-
Php::Zval result;
295+
Php::Zval result {};
296296

297297
// copy the value
298298
ZVAL_COPY_VALUE(result, _val);

0 commit comments

Comments
 (0)