aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheLastRar <TheLastRar@users.noreply.github.com>2022-11-09 21:18:34 +0000
committerTheLastRar <TheLastRar@users.noreply.github.com>2022-11-14 19:05:56 +0000
commit3cba359d38a5587506a1535c06ef7e8399e079d5 (patch)
tree25fee95d1038a351ee39e346ae7512967b147b28
parentb8d7aedb2ca38a64e84aad4955044c778ca4163d (diff)
downloadPrismLauncher-3cba359d38a5587506a1535c06ef7e8399e079d5.tar.gz
PrismLauncher-3cba359d38a5587506a1535c06ef7e8399e079d5.tar.bz2
PrismLauncher-3cba359d38a5587506a1535c06ef7e8399e079d5.zip
Mark paramater runtimeContext as unused
Base class uses variable, but ImplicitRule does not Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
-rw-r--r--launcher/minecraft/Rule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/minecraft/Rule.h b/launcher/minecraft/Rule.h
index 236f9a87..846e8e42 100644
--- a/launcher/minecraft/Rule.h
+++ b/launcher/minecraft/Rule.h
@@ -104,7 +104,7 @@ public:
class ImplicitRule : public Rule
{
protected:
- virtual bool applies(const Library *, const RuntimeContext & runtimeContext)
+ virtual bool applies(const Library *, [[maybe_unused]] const RuntimeContext & runtimeContext)
{
return true;
}