From 01e68fc7aaa96cb520524d35f7f76c57d4c4d106 Mon Sep 17 00:00:00 2001
From: Constantin Papizh <p.const@bk.ru>
Date: Thu, 13 Feb 2020 15:09:21 +0300
Subject: [PATCH] Init fixes... again...

---
 include/dap_common.h | 4 +---
 src/dap_common.c     | 1 -
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/include/dap_common.h b/include/dap_common.h
index 27468c6..50e35ee 100755
--- a/include/dap_common.h
+++ b/include/dap_common.h
@@ -330,9 +330,7 @@ DAP_STATIC_INLINE void DAP_AtomicUnlock( dap_spinlock_t *lock )
 
 
 
-extern char *g_sys_dir_path ;
-extern size_t g_sys_dir_path_len;
-
+extern char *g_sys_dir_path;
 
 //int dap_common_init( const char * a_log_file );
 int dap_common_init( const char *console_title, const char *a_log_file );
diff --git a/src/dap_common.c b/src/dap_common.c
index d145c6f..2deac60 100755
--- a/src/dap_common.c
+++ b/src/dap_common.c
@@ -135,7 +135,6 @@ static unsigned int s_ansi_seq_color_len[16] = {0};
 
 static volatile bool s_log_term_signal = false;
 char* g_sys_dir_path = NULL;
-size_t g_sys_dir_path_len = 0;
 
 static char s_last_error[LAST_ERROR_MAX]    = {'\0'},
     s_log_file_path[MAX_PATH]               = {'\0'},
-- 
GitLab