SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Fix unused parameter warnings in ShadowNode.h (#56519)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56519

Fixed clang-diagnostic-unused-parameter warnings in ShadowNode.h by commenting out unused parameter names in the completeClone method. This addresses warnings for parameters `sourceShadowNode` and `fragment` that were declared but not used in the function body.

Also applied lint patch to remove redundant `virtual` keyword from the destructor declaration.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D101108467

fbshipit-source-id: 3c717f27df362e68f308b0e0f119b0fe43e82818
C
Christoph Purrer committed
19a23e7914fe6dded4e183efd789c1baa0118824
Parent: d655114
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 4/22/2026, 1:42:17 AM