Skip to content

Commit 75e8847

Browse files
Uladzislau Paulovichfacebook-github-bot
authored andcommitted
Enable unused-private-field warning (facebook#13450)
Summary: Pull Request resolved: pytorch/pytorch#13450 Pull Request resolved: facebook#22065 This diff enables -Wunused-private-field clang warning for Android builds and fixes all broken targets. Reviewed By: gkmhub Differential Revision: D12881793 fbshipit-source-id: 515555661e137be9e7b20eac9b5bdcb549d6a094
1 parent 031b584 commit 75e8847

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ReactCommon/fabric/imagemanager/platform/android/ImageManager.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ namespace facebook {
1111
namespace react {
1212

1313
ImageManager::ImageManager(void *platformSpecificCounterpart) {
14+
// Silence unused-private-field warning.
15+
(void)self_;
1416
// Not implemented.
1517
}
1618

0 commit comments

Comments
 (0)