Skip to content

Commit 161786f

Browse files
committed
Fix warning, expose PluginType api
1 parent f6b36a8 commit 161786f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

binaryninjaapi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3739,6 +3739,7 @@ namespace BinaryNinja
37393739

37403740
std::string GetName() const { return m_command.name; }
37413741
std::string GetDescription() const { return m_command.description; }
3742+
BNPluginCommandType GetType() const { return m_command.type; }
37423743

37433744
bool IsValid(const PluginCommandContext& ctxt) const;
37443745
void Execute(const PluginCommandContext& ctxt) const;

interaction.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ FormInputField FormInputField::DirectoryName(const string& prompt, const string&
105105
void InteractionHandler::ShowMarkdownReport(Ref<BinaryView> view, const string& title, const string& contents,
106106
const string& plainText)
107107
{
108+
(void)contents;
108109
if (plainText.size() != 0)
109110
ShowPlainTextReport(view, title, plainText);
110111
}

0 commit comments

Comments
 (0)