mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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:
1 parent
16edd89dd0
commit
eed1e3456c
1 file changed
+2
-2
+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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user