From c4e2d2373bed23f56ab8b96fc028ffb1c5c56001 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 4 Nov 2019 19:37:47 -0600 Subject: hscript: Mark code correctly for LCOV --- hscript/disk.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hscript/disk.cc') 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 */ } -- cgit v1.2.3-70-g09d2