aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context.cpp
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2024-06-10 09:48:05 +0000
committerIngo Klöcker <[email protected]>2024-06-10 12:54:48 +0000
commit4136928f0d894e873eb0ecb0bc79931a023ba32c (patch)
treef74008b20a2cbefb5557d09ca774aa9ae12ceef9 /lang/cpp/src/context.cpp
parentdoc: Extend description for GPGME_CREATE_ADSK (diff)
downloadgpgme-4136928f0d894e873eb0ecb0bc79931a023ba32c.tar.gz
gpgme-4136928f0d894e873eb0ecb0bc79931a023ba32c.zip
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. --
Diffstat (limited to '')
-rw-r--r--lang/cpp/src/context.cpp4
1 files changed, 0 insertions, 4 deletions
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<gpgme_err_code_t>(code()));
-//#else
-// return gpg_err_code_to_errno( static_cast<gpg_err_code_t>( code() ) );
-//#endif
}
// static