diff options
author | Ingo Klöcker <[email protected]> | 2024-06-10 09:48:05 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2024-06-10 12:54:48 +0000 |
commit | 4136928f0d894e873eb0ecb0bc79931a023ba32c (patch) | |
tree | f74008b20a2cbefb5557d09ca774aa9ae12ceef9 /lang/cpp/src/context.cpp | |
parent | doc: Extend description for GPGME_CREATE_ADSK (diff) | |
download | gpgme-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 'lang/cpp/src/context.cpp')
-rw-r--r-- | lang/cpp/src/context.cpp | 4 |
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 |