aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2024-05-15 02:57:49 +0000
committerNIIBE Yutaka <[email protected]>2024-05-15 02:57:49 +0000
commit0cb7f6fbb7cadff4ab4d390475176fecc1232017 (patch)
tree28868f33adf9b73c0fd4d0ad1c2e73797bd61d5b /common
parentdirmngr: Fix a call of calloc. (diff)
downloadgnupg-0cb7f6fbb7cadff4ab4d390475176fecc1232017.tar.gz
gnupg-0cb7f6fbb7cadff4ab4d390475176fecc1232017.zip
common: Remove unused function.
* common/exechelp-posix.c (my_error): Remove. -- Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common')
-rw-r--r--common/exechelp-posix.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/exechelp-posix.c b/common/exechelp-posix.c
index 7b20a3796..d90b4e8c7 100644
--- a/common/exechelp-posix.c
+++ b/common/exechelp-posix.c
@@ -84,12 +84,6 @@ my_error_from_syserror (void)
return gpg_err_make (default_errsource, gpg_err_code_from_syserror ());
}
-static inline gpg_error_t
-my_error (int errcode)
-{
- return gpg_err_make (default_errsource, errcode);
-}
-
/* Return the maximum number of currently allowed open file
descriptors. Only useful on POSIX systems but returns a value on