From 11a83b85babc7403e020f4eb85254f256c57e36e Mon Sep 17 00:00:00 2001 From: benrubson Date: Mon, 20 Mar 2017 15:57:37 +0100 Subject: [PATCH] Remove not needed try/catch block --- encfs/encfs.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/encfs/encfs.cpp b/encfs/encfs.cpp index 39de833..ad0acec 100644 --- a/encfs/encfs.cpp +++ b/encfs/encfs.cpp @@ -356,11 +356,7 @@ int _do_readlink(EncFS_Context *ctx, const string &cyName, char *buf, buf[res] = '\0'; // ensure null termination string decodedName; - try { - decodedName = FSRoot->plainPath(buf); - } catch (...) { - VLOG(1) << "caught error decoding path"; - } + decodedName = FSRoot->plainPath(buf); if (!decodedName.empty()) { strncpy(buf, decodedName.c_str(), size - 1);