Fix unused parameter warnings in HostPlatformViewTraitsInitializer.h (#56491)

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

Fixed clang-diagnostic-unused-parameter warnings in HostPlatformViewTraitsInitializer.h by commenting out unused parameter names while maintaining API compatibility.

Changes:
- `formsStackingContext`: Commented out unused 'props' parameter
- `formsView`: Commented out unused 'props' parameter
- `isKeyboardFocusable`: Already had parameter commented out correctly

Changelog: [Internal]

Reviewed By: zeyap

Differential Revision: D101108434

fbshipit-source-id: bddf7100034fd98d66f9ff229eef8b196cd5cdb2
This commit is contained in:
Christoph Purrer authored and meta-codesync[bot] committed 2026-04-21 20:52:48 -07:00
1 parent 16edd89dd0
commit eed1e3456c
1 file changed
+2 -2
@@ -12,12 +12,12 @@
namespace facebook::react::HostPlatformViewTraitsInitializer {
inline bool formsStackingContext(const ViewProps &props)
inline bool formsStackingContext(const ViewProps & /*props*/)
{
return false;
}
inline bool formsView(const ViewProps &props)
inline bool formsView(const ViewProps & /*props*/)
{
return false;
}