summaryrefslogtreecommitdiff
path: root/hscript/script.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-06 17:00:16 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-06 17:00:16 -0600
commit8b7d518575604e628e3823f6bf1b7dd1ee36cc1d (patch)
tree83b61eff399d84fe236b80176ec0c3a883950ce5 /hscript/script.cc
parent980aa145efd22d51781c59cc3c4245659db0ea47 (diff)
downloadhorizon-8b7d518575604e628e3823f6bf1b7dd1ee36cc1d.tar.gz
horizon-8b7d518575604e628e3823f6bf1b7dd1ee36cc1d.tar.bz2
horizon-8b7d518575604e628e3823f6bf1b7dd1ee36cc1d.tar.xz
horizon-8b7d518575604e628e3823f6bf1b7dd1ee36cc1d.zip
hscript: Disable coverage test for default case handler in store_key
Diffstat (limited to 'hscript/script.cc')
-rw-r--r--hscript/script.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/script.cc b/hscript/script.cc
index fcb7035..cb67fe6 100644
--- a/hscript/script.cc
+++ b/hscript/script.cc
@@ -157,7 +157,7 @@ bool Script::ScriptPrivate::store_key(const std::string &key_name, Key *obj,
this->mounts.push_back(std::move(mount));
return true;
} else {
- return false;
+ return false; /* LCOV_EXCL_LINE - only here for error prevention */
}
}