From 1978c49bea5b439d993067c055cec47e70db8fd6 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sat, 7 Oct 2023 22:33:50 +0200 Subject: minor refactoring --- src/maildir-select.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/maildir-select.cc') diff --git a/src/maildir-select.cc b/src/maildir-select.cc index a779a4a..470dbbc 100644 --- a/src/maildir-select.cc +++ b/src/maildir-select.cc @@ -1,18 +1,17 @@ -/** -------------------------------------------------------------------- +/** * @file maildir-select.cc * @brief Implementation of the Maildir class. * @author Andreas Aardal Hanssen * @date Andreas Aardal Hanssen - * ----------------------------------------------------------------- **/ + */ + #include "maildir.h" #include #include -using namespace ::std; using namespace Binc; -//------------------------------------------------------------------------ bool Binc::Maildir::selectMailbox(const std::string &name, const std::string &s_in) { setName(name); @@ -34,6 +33,7 @@ bool Binc::Maildir::selectMailbox(const std::string &name, const std::string &s_ break; case TemporaryError: if (scan() == Success) break; + [[fallthrough]]; case PermanentError: return false; } -- cgit v1.2.3