fixed missing initialisation

This commit is contained in:
Frank Morgner
2014-10-02 09:12:03 +02:00
parent 3ca879fafa
commit 4958cde4d8

View File

@@ -533,7 +533,7 @@ PCSC_API LONG SCardListReaders(SCARDCONTEXT hContext, LPCSTR mszGroups, LPSTR ms
uint32_t index; uint32_t index;
DWORD readerslen = 0, readerlen; DWORD readerslen = 0, readerlen;
LONG r; LONG r;
char *readers; char *readers = NULL;
if (!pcchReaders) { if (!pcchReaders) {
r = SCARD_E_INVALID_PARAMETER; r = SCARD_E_INVALID_PARAMETER;