summaryrefslogtreecommitdiff
path: root/hscript
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-31 18:44:01 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-31 18:44:01 -0500
commite80e8ad8578a3426b810363094243c5d822742d5 (patch)
tree474caa7bf609f1b559b9942910b3064088963acf /hscript
parent686e0a9fc307b38e698055ba258a27fd24cec253 (diff)
downloadhorizon-e80e8ad8578a3426b810363094243c5d822742d5.tar.gz
horizon-e80e8ad8578a3426b810363094243c5d822742d5.tar.bz2
horizon-e80e8ad8578a3426b810363094243c5d822742d5.tar.xz
horizon-e80e8ad8578a3426b810363094243c5d822742d5.zip
Build: disable -Wunused-parameter
Diffstat (limited to 'hscript')
-rw-r--r--hscript/script.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/hscript/script.cc b/hscript/script.cc
index 5a9dd8e..c99abe5 100644
--- a/hscript/script.cc
+++ b/hscript/script.cc
@@ -285,9 +285,6 @@ struct Script::ScriptPrivate {
this->firmware = std::move(f);
return true;
#else
- /* Shut up -Wunused-parameter. */
- assert(lineno != 0);
- assert(errors != nullptr);
assert(!f->test());
return true;
#endif