From 6bf1fd364fc8359a46a724de29aa6e3352c37319 Mon Sep 17 00:00:00 2001 From: "jh8801.jung" Date: Tue, 21 Feb 2017 16:26:59 +0900 Subject: [PATCH] Fix Svace issue : 118 checker Change-Id: I26225a8fd7629c902bea5c89f8d89ff66f400279 --- packaging/nfc-plugin-emul.spec | 2 +- src/oem/oem_emul.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/packaging/nfc-plugin-emul.spec b/packaging/nfc-plugin-emul.spec index 7676943..2ef5a0e 100644 --- a/packaging/nfc-plugin-emul.spec +++ b/packaging/nfc-plugin-emul.spec @@ -1,6 +1,6 @@ Name: nfc-plugin-emul Summary: NFC emul plugin -Version: 0.0.21 +Version: 0.0.22 Release: 0 Group: TO_BE/FILLED_IN License: Apache-2.0 diff --git a/src/oem/oem_emul.c b/src/oem/oem_emul.c index c636b14..c4890b0 100755 --- a/src/oem/oem_emul.c +++ b/src/oem/oem_emul.c @@ -1695,12 +1695,6 @@ static void emul_ReaderThread(void * pArg) DEBUG_MSG("epoll wait >>>>"); - if(emulMsg_poll_fd == -1 || emulMsg_file_fd == -1) - { - DEBUG_MSG("client is deinitialized. "); - condition = 0; - } - while((num_of_files = epoll_wait(emulMsg_poll_fd, emulMsg_poll_events, EPOLL_SIZE, -1)) == 0) { DEBUG_MSG("no data is changed "); } -- 2.7.4