tests/immsv/management/test_saImmOmCcbObjectCreate_2.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
Remove dead code to fix the following compilation error discovered when using GCC 6: test_saImmOmCcbObjectCreate_2.c:20:30: error: 'nonExistingClassName' defined but not used [-Werror=unused-const-variable=] static const SaImmClassNameT nonExistingClassName = (SaImmClassNameT) __FILE__; ^~~~~~~~~~~~~~~~~~~~ diff --git a/tests/immsv/management/test_saImmOmCcbObjectCreate_2.c b/tests/immsv/management/test_saImmOmCcbObjectCreate_2.c --- a/tests/immsv/management/test_saImmOmCcbObjectCreate_2.c +++ b/tests/immsv/management/test_saImmOmCcbObjectCreate_2.c @@ -17,8 +17,6 @@ #include "immtest.h" -static const SaImmClassNameT nonExistingClassName = (SaImmClassNameT) __FILE__; - void saImmOmCcbObjectCreate_01(void) { const SaImmAdminOwnerNameT adminOwnerName = (SaImmAdminOwnerNameT) __FUNCTION__; ------------------------------------------------------------------------------ _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel