Fix "ignored result of call" and other warnings

GitOrigin-RevId: 13ffae0c5ef1ea27b7306f4b0cc5386369717734
This commit is contained in:
Tagir Valeev
2024-06-27 17:16:22 +02:00
committed by intellij-monorepo-bot
parent edec77df83
commit 2854780d0a
5 changed files with 12 additions and 5 deletions

View File

@@ -229,6 +229,7 @@ final class UsedIconsListingAction extends AnAction {
PsiFile file = annotation.getContainingFile();
if (useScope.contains(file.getVirtualFile())) {
WriteCommandAction.writeCommandAction(project, file).run(() -> {
//noinspection ResultOfMethodCallIgnored -- load tree?
annotation.getNode();
annotation.setDeclaredAttributeValue(
"icon",