compilerplugins: fix -Werror,-Wunused-parameter

When building the plugins with NDEBUG defined.

Change-Id: If84a920d9e042bf8f45d8e3dd5a5cef3b2baba0b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95788
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
This commit is contained in:
Miklos Vajna
2020-06-08 09:08:27 +02:00
parent 58b7ad7aac
commit 8bbd832428

View File

@@ -316,6 +316,7 @@ public:
{
assert(!innermostLoop_.empty());
assert(innermostLoop_.top() == stmt);
(void)stmt;
innermostLoop_.pop();
return true;
}
@@ -341,6 +342,7 @@ public:
{
assert(!innermostLoop_.empty());
assert(innermostLoop_.top() == stmt);
(void)stmt;
innermostLoop_.pop();
return true;
}
@@ -366,6 +368,7 @@ public:
{
assert(!innermostLoop_.empty());
assert(innermostLoop_.top() == stmt);
(void)stmt;
innermostLoop_.pop();
return true;
}
@@ -391,6 +394,7 @@ public:
{
assert(!innermostLoop_.empty());
assert(innermostLoop_.top() == stmt);
(void)stmt;
innermostLoop_.pop();
return true;
}