summaryrefslogtreecommitdiff
path: root/hscript/key.hh
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-18 21:43:14 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-18 21:43:14 -0500
commit72ca6added88259f9b456810bdd7300c2037b23c (patch)
treef783223d22d7dca95d2109ca2dc90c84ec047628 /hscript/key.hh
parent5ff493fde203f36b71717439b26b3b6a735528d6 (diff)
downloadhorizon-72ca6added88259f9b456810bdd7300c2037b23c.tar.gz
horizon-72ca6added88259f9b456810bdd7300c2037b23c.tar.bz2
horizon-72ca6added88259f9b456810bdd7300c2037b23c.tar.xz
horizon-72ca6added88259f9b456810bdd7300c2037b23c.zip
hscript: Mark more stuff as unreachable for LCOV
Diffstat (limited to 'hscript/key.hh')
-rw-r--r--hscript/key.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/hscript/key.hh b/hscript/key.hh
index f1e2647..786df2d 100644
--- a/hscript/key.hh
+++ b/hscript/key.hh
@@ -39,11 +39,13 @@ public:
* @returns nullptr if data is unparsable, otherwise a pointer to a Key.
*/
#define UNUSED __attribute__((unused))
+ /* LCOV_EXCL_START */
static Key *parseFromData(const std::string &data UNUSED,
int lineno UNUSED, int *errors UNUSED,
int *warnings UNUSED) {
return nullptr;
}
+ /* LCOV_EXCL_STOP */
#undef UNUSED
/*! Determines if the data associated with the Key is valid. */