[Pcsclite-git-commit] [PCSC] 01/01: Doxygen: SCARD_E_NOT_READY is never returned
Ludovic Rousseau
rousseau at moszumanska.debian.org
Wed Sep 28 07:31:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository PCSC.
commit db9d22e3a38e713d8150b5fddc124cc57c4e89e9
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Wed Sep 28 09:28:12 2016 +0200
Doxygen: SCARD_E_NOT_READY is never returned
SCardConnect() and SCardReconnect() will never return SCARD_E_NOT_READY.
So remove this return value from the Doxygen documentation.
In fact SCARD_E_NOT_READY is not used by any pcsc-lite function.
---
src/winscard_clnt.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/winscard_clnt.c b/src/winscard_clnt.c
index 74f551f..5b672d8 100644
--- a/src/winscard_clnt.c
+++ b/src/winscard_clnt.c
@@ -737,7 +737,6 @@ error:
* @retval SCARD_E_INVALID_VALUE Invalid sharing mode, requested protocol, or reader name (\ref SCARD_E_INVALID_VALUE)
* @retval SCARD_E_NO_SERVICE The server is not running (\ref SCARD_E_NO_SERVICE)
* @retval SCARD_E_NO_SMARTCARD No smart card present (\ref SCARD_E_NO_SMARTCARD)
- * @retval SCARD_E_NOT_READY Could not allocate the desired port (\ref SCARD_E_NOT_READY)
* @retval SCARD_E_PROTO_MISMATCH Requested protocol is unknown (\ref SCARD_E_PROTO_MISMATCH)
* @retval SCARD_E_READER_UNAVAILABLE Could not power up the reader or card (\ref SCARD_E_READER_UNAVAILABLE)
* @retval SCARD_E_SHARING_VIOLATION Someone else has exclusive rights (\ref SCARD_E_SHARING_VIOLATION)
@@ -881,7 +880,6 @@ end:
* @retval SCARD_E_INVALID_VALUE Invalid sharing mode, requested protocol, or reader name (\ref SCARD_E_INVALID_VALUE)
* @retval SCARD_E_NO_SERVICE The server is not running (\ref SCARD_E_NO_SERVICE)
* @retval SCARD_E_NO_SMARTCARD No smart card present (\ref SCARD_E_NO_SMARTCARD)
- * @retval SCARD_E_NOT_READY Could not allocate the desired port (\ref SCARD_E_NOT_READY)
* @retval SCARD_E_PROTO_MISMATCH Requested protocol is unknown (\ref SCARD_E_PROTO_MISMATCH)
* @retval SCARD_E_READER_UNAVAILABLE The reader has been removed (\ref SCARD_E_READER_UNAVAILABLE)
* @retval SCARD_E_SHARING_VIOLATION Someone else has exclusive rights (\ref SCARD_E_SHARING_VIOLATION)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/PCSC.git
More information about the Pcsclite-cvs-commit
mailing list