commit | 45cd0e3aa0575bc70c661e7a4ed89c20ec8ced9f | [log] [tgz] |
---|---|---|
author | Mikael Holmen <mikael.holmen@ericsson.com> | Fri Sep 29 08:21:10 2023 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Sep 29 03:07:08 2023 -0700 |
tree | 485904b86aac1a2a10d6643976b9aac920aab210 | |
parent | 6a78a546ab1f78aa4ec28a0d489e22ba3cdc1b62 [diff] |
[Coroutines] Remove unused variable [NFC] gcc warned about it: ../lib/Transforms/Coroutines/CoroFrame.cpp:2785:15: warning: unused variable 'MD' [-Wunused-variable] 2785 | if (MDNode *MD = AI->getMetadata(LLVMContext::MD_coro_outside_frame)) | ^~ Fix the warning by removing the unused variable and change the call from getMetadata to hasMetadata. GitOrigin-RevId: 9284b03e87df5153fe425b6b81b8402f666deb18