summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xUICCTerminal.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/UICCTerminal.cpp b/UICCTerminal.cpp
index 998a6ab..91c7f55 100755
--- a/UICCTerminal.cpp
+++ b/UICCTerminal.cpp
@@ -253,7 +253,7 @@ namespace smartcard_service_api
int UICCTerminal::transmitSync(const ByteArray &command,
ByteArray &response)
{
- int result;
+ int result = SCARD_ERROR_OK;
_BEGIN();
@@ -300,7 +300,7 @@ namespace smartcard_service_api
int UICCTerminal::getATRSync(ByteArray &atr)
{
- int result;
+ int result = SCARD_ERROR_OK;
_BEGIN();
@@ -340,7 +340,7 @@ namespace smartcard_service_api
int UICCTerminal::transmit(const ByteArray &command,
terminalTransmitCallback callback, void *userParam)
{
- int result;
+ int result = SCARD_ERROR_OK;
_BEGIN();
@@ -385,7 +385,7 @@ namespace smartcard_service_api
int UICCTerminal::getATR(terminalGetATRCallback callback,
void *userParam)
{
- int result;
+ int result = SCARD_ERROR_OK;
_BEGIN();