From 4136928f0d894e873eb0ecb0bc79931a023ba32c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Mon, 10 Jun 2024 11:48:05 +0200 Subject: cpp: Remove commented out and disabled code * lang/cpp/src/configuration.cpp: Remove disabled, abandoned code. * lang/cpp/src/context.cpp: Remove commented out, obsolete code. -- --- lang/cpp/src/context.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lang/cpp/src/context.cpp') diff --git a/lang/cpp/src/context.cpp b/lang/cpp/src/context.cpp index 57f92394..99e354df 100644 --- a/lang/cpp/src/context.cpp +++ b/lang/cpp/src/context.cpp @@ -147,11 +147,7 @@ bool Error::isCanceled() const int Error::toErrno() const { -//#ifdef HAVE_GPGME_GPG_ERROR_WRAPPERS return gpgme_err_code_to_errno(static_cast(code())); -//#else -// return gpg_err_code_to_errno( static_cast( code() ) ); -//#endif } // static -- cgit v1.2.3