Some variables are used for emulator only.
So it is required to seperate those variable depending on the build
environment.
Change-Id: Ied0c93060c025c85eb3b52b773ec38c4a7e932f5
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
static void p2p_send_data_thread_func(gpointer user_data)
{
P2pSendData *p2p_data = (P2pSendData *) user_data;
+#ifndef TIZEN_EMULATOR
net_nfc_error_e result;
net_nfc_target_handle_s *handle;
-
+#endif
g_assert(p2p_data != NULL);
g_assert(p2p_data->p2p != NULL);
g_assert(p2p_data->invocation != NULL);
-
+#ifndef TIZEN_EMULATOR
handle = GUINT_TO_POINTER(p2p_data->p2p_handle);
-
+#endif
#if TIZEN_EMULATOR
net_nfc_gdbus_p2p_complete_send(p2p_data->p2p, p2p_data->invocation, NET_NFC_OK);
net_nfc_util_clear_data(&p2p_data->data);