summaryrefslogtreecommitdiff
path: root/hscript/disk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/disk.cc')
-rw-r--r--hscript/disk.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/hscript/disk.cc b/hscript/disk.cc
index cef1a1e..07eca06 100644
--- a/hscript/disk.cc
+++ b/hscript/disk.cc
@@ -151,7 +151,7 @@ bool DiskId::execute(ScriptOptions options) const {
udev_unref(udev);
#endif /* HAS_INSTALL_ENV */
- return match;
+ return match; /* LCOV_EXCL_LINE */
}
@@ -256,7 +256,7 @@ bool DiskLabel::execute(ScriptOptions options) const {
}
return (res == 1);
#else
- return false;
+ return false; /* LCOV_EXCL_LINE */
#endif /* HAS_INSTALL_ENV */
}
@@ -579,7 +579,7 @@ bool Partition::execute(ScriptOptions opts) const {
ped_disk_destroy(disk);
#endif /* HAS_INSTALL_ENV */
- return true;
+ return true; /* LCOV_EXCL_LINE */
}
@@ -701,7 +701,7 @@ bool Filesystem::execute(ScriptOptions opts) const {
return false;
}
#endif /* HAS_INSTALL_ENV */
- return true;
+ return true; /* LCOV_EXCL_LINE */
}