tests/logsv/tet_Log_recov.c |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)


Remove dead code to fix the following compilation error discovered when using
GCC 6:

tet_Log_recov.c:76:18: error: 'wr_delay' defined but not used 
[-Werror=unused-const-variable=]
 static const int wr_delay = 100*1000; /* 100 ms */
                  ^~~~~~~~

diff --git a/tests/logsv/tet_Log_recov.c b/tests/logsv/tet_Log_recov.c
--- a/tests/logsv/tet_Log_recov.c
+++ b/tests/logsv/tet_Log_recov.c
@@ -73,8 +73,6 @@ typedef struct {
 } client_t;
 static client_t g_client[MAX_CLIENTS];
 
-static const int wr_delay = 100*1000; /* 100 ms */
-
 typedef enum {
        NTF_LOG_REC,
        GEN_LOG_REC

------------------------------------------------------------------------------
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to