Skip to content

Commit 6237882

Browse files
mdvaccameta-codesync[bot]
authored andcommitted
Explicitly set default values for fields of ShadowViewNodePair (#54193)
Summary: Pull Request resolved: #54193 Explicitly set default values for fields of ShadowViewNodePair changelog: [internal] internal Reviewed By: cortinico Differential Revision: D84954458 fbshipit-source-id: 7ca2ed92d5622cf4dc01088d4e53b946d1bbd279
1 parent 0a3344c commit 6237882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/ReactCommon/react/renderer/mounting/internal/ShadowViewNodePair.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace facebook::react {
1818
* This is not exposed to the mounting layer.
1919
*/
2020
struct ShadowViewNodePair final {
21-
ShadowView shadowView;
21+
ShadowView shadowView{};
2222
const ShadowNode* shadowNode;
2323

2424
/**

0 commit comments

Comments
 (0)