From 5a77466feaa459f85654bad193e359aa016aa349 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 14 Feb 2016 20:13:02 +0000 Subject: Exclude failsafe exit from test coverage --- netfs/fuse/fuseApp.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/netfs/fuse/fuseApp.cpp b/netfs/fuse/fuseApp.cpp index 8bd73cd..9b2ba1c 100644 --- a/netfs/fuse/fuseApp.cpp +++ b/netfs/fuse/fuseApp.cpp @@ -23,20 +23,24 @@ NetFS::FuseApp::FuseApp(const Ice::StringSeq & a) : NetFS::FuseApp::~FuseApp() { for (const OpenDirs::value_type & of : openDirs) { + // LCOV_EXCL_START try { of.second->remote->close(); } catch (...) { // Can't do anything useful here } + // LCOV_EXCL_STOP } for (const OpenFiles::value_type & of : openFiles) { + // LCOV_EXCL_START try { of.second->remote->close(); } catch (...) { // Can't do anything useful here } + // LCOV_EXCL_STOP } if (volume) { try { -- cgit v1.2.3