Skip to content

Fix unused parameter warnings in TimerManager#56516

Closed
christophpurrer wants to merge 1 commit intofacebook:mainfrom
christophpurrer:export-D101108602
Closed

Fix unused parameter warnings in TimerManager#56516
christophpurrer wants to merge 1 commit intofacebook:mainfrom
christophpurrer:export-D101108602

Conversation

@christophpurrer
Copy link
Copy Markdown
Contributor

Summary:
Fixed clang-diagnostic-unused-parameter warnings in TimerManager.cpp by commenting out the unused 'runtime' parameter names in two functions:

  • deleteTimer() at line 135
  • deleteRecurringTimer() at line 152-153

Both functions accept a jsi::Runtime& parameter for API compatibility but don't use it internally. The fix maintains the function signatures while suppressing the warnings by commenting out the parameter names.

Changelog: [Internal]

Differential Revision: D101108602

Summary:
Fixed clang-diagnostic-unused-parameter warnings in TimerManager.cpp by commenting out the unused 'runtime' parameter names in two functions:
- deleteTimer() at line 135
- deleteRecurringTimer() at line 152-153

Both functions accept a jsi::Runtime& parameter for API compatibility but don't use it internally. The fix maintains the function signatures while suppressing the warnings by commenting out the parameter names.

Changelog: [Internal]

Differential Revision: D101108602
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 20, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Apr 20, 2026

@christophpurrer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D101108602.

@meta-codesync meta-codesync Bot closed this in aa5a78c Apr 20, 2026
@facebook-github-tools facebook-github-tools Bot added the Merged This PR has been merged. label Apr 20, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Apr 20, 2026

This pull request has been merged in aa5a78c.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @christophpurrer in aa5a78c

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants