Fix compiler warnings
This commit is contained in:
@@ -331,7 +331,7 @@ NAN_METHOD(CardReader::Close) {
|
||||
info.GetReturnValue().Set(Nan::New<Number>(result));
|
||||
}
|
||||
|
||||
void CardReader::HandleReaderStatusChange(uv_async_t *handle, int status) {
|
||||
void CardReader::HandleReaderStatusChange(uv_async_t *handle) {
|
||||
|
||||
Nan::HandleScope scope;
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ class CardReader: public Nan::ObjectWrap {
|
||||
static NAN_METHOD(Control);
|
||||
static NAN_METHOD(Close);
|
||||
|
||||
static void HandleReaderStatusChange(uv_async_t *handle, int status);
|
||||
static void HandleReaderStatusChange(uv_async_t *handle);
|
||||
static void HandlerFunction(void* arg);
|
||||
static void DoConnect(uv_work_t* req);
|
||||
static void DoDisconnect(uv_work_t* req);
|
||||
|
||||
@@ -63,9 +63,9 @@ PCSCLite::PCSCLite(): m_card_context(0),
|
||||
WaitForSingleObject(seInfo.hProcess, INFINITE);
|
||||
CloseHandle(seInfo.hProcess);
|
||||
}
|
||||
postServiceCheck:
|
||||
#endif // _WIN32
|
||||
|
||||
postServiceCheck:
|
||||
LONG result;
|
||||
do {
|
||||
result = SCardEstablishContext(SCARD_SCOPE_SYSTEM,
|
||||
@@ -166,7 +166,7 @@ NAN_METHOD(PCSCLite::Close) {
|
||||
info.GetReturnValue().Set(Nan::New<Number>(result));
|
||||
}
|
||||
|
||||
void PCSCLite::HandleReaderStatusChange(uv_async_t *handle, int status) {
|
||||
void PCSCLite::HandleReaderStatusChange(uv_async_t *handle) {
|
||||
|
||||
Nan::HandleScope scope;
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ class PCSCLite: public Nan::ObjectWrap {
|
||||
static NAN_METHOD(Start);
|
||||
static NAN_METHOD(Close);
|
||||
|
||||
static void HandleReaderStatusChange(uv_async_t *handle, int status);
|
||||
static void HandleReaderStatusChange(uv_async_t *handle);
|
||||
static void HandlerFunction(void* arg);
|
||||
static void CloseCallback(uv_handle_t *handle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user