From 74afbf84f4b3f6ee7dab6d5ad3fb036b8161972e Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Fri, 17 Feb 2017 11:49:35 +0100
Subject: [PATCH] warning fix: remove pragma in LFDS

Not sure that it's correct, but those #pragma seem
to be of no use for gcc. Let's remove them
completely.
---
 .../src/lfds700_hash_addonly/lfds700_hash_addonly_cleanup.c     | 2 --
 .../lfds700_list_addonly_singlylinked_unordered_insert.c        | 2 --
 2 files changed, 4 deletions(-)

diff --git a/openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_cleanup.c b/openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_cleanup.c
index af88b19179..e57fab74c4 100644
--- a/openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_cleanup.c
+++ b/openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_hash_addonly/lfds700_hash_addonly_cleanup.c
@@ -36,7 +36,6 @@ void lfds700_hash_a_cleanup( struct lfds700_hash_a_state *has,
 
 
 /****************************************************************************/
-#pragma warning( disable : 4100 )
 
 static void btree_au_element_cleanup_function( struct lfds700_btree_au_state *baus, struct lfds700_btree_au_element *baue )
 {
@@ -57,5 +56,4 @@ static void btree_au_element_cleanup_function( struct lfds700_btree_au_state *ba
   return;
 }
 
-#pragma warning( default : 4100 )
 
diff --git a/openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_insert.c b/openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_insert.c
index ce2ee825aa..86472b004e 100644
--- a/openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_insert.c
+++ b/openair2/UTIL/LFDS/liblfds7.0.0/liblfds700/src/lfds700_list_addonly_singlylinked_unordered/lfds700_list_addonly_singlylinked_unordered_insert.c
@@ -154,7 +154,6 @@ void lfds700_list_asu_insert_at_end( struct lfds700_list_asu_state *lasus,
 
 
 /****************************************************************************/
-#pragma warning( disable : 4100 )
 
 void lfds700_list_asu_insert_after_element( struct lfds700_list_asu_state *lasus,
                                             struct lfds700_list_asu_element *lasue,
@@ -189,5 +188,4 @@ void lfds700_list_asu_insert_after_element( struct lfds700_list_asu_state *lasus
   return;
 }
 
-#pragma warning( default : 4100 )
 
-- 
GitLab