aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-28 15:55:42 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-30 21:21:10 +0200
commitf6413617c5eba0d0a06517059545e51af45dee16 (patch)
treeb89b752fac2e5b4c3bad4e47d55aa628f9d4a0f8
parent0eedcdeec79f9740e73d9ef6831cae87dd729486 (diff)
csn1: Remove unused code from the file
Fixes: csn1.cpp:124:20: warning: 'CSN_DESCR_type' defined but not used [-Wunused-variable]
-rw-r--r--src/csn1.cpp38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/csn1.cpp b/src/csn1.cpp
index 38d8860..de1db73 100644
--- a/src/csn1.cpp
+++ b/src/csn1.cpp
@@ -118,44 +118,6 @@ ProcessError( unsigned readIndex, const char* sz, gint16 err, const CSN_DESCR* p
return err;
}
-//#if 0
-static const char* CSN_DESCR_type[]=
-{
- "CSN_END",
- "CSN_BIT",
- "CSN_UINT",
- "CSN_TYPE",
- "CSN_CHOICE",
- "CSN_UNION",
- "CSN_UNION_LH",
- "CSN_UINT_ARRAY",
- "CSN_TYPE_ARRAY",
- "CSN_BITMAP",
- "CSN_VARIABLE_BITMAP",
- "CSN_VARIABLE_BITMAP_1",
- "CSN_LEFT_ALIGNED_VAR_BMP",
- "CSN_LEFT_ALIGNED_VAR_BMP_1",
- "CSN_VARIABLE_ARRAY",
- "CSN_VARIABLE_TARRAY",
- "CSN_VARIABLE_TARRAY_OFFSET",
- "CSN_RECURSIVE_ARRAY",
- "CSN_RECURSIVE_TARRAY",
- "CSN_RECURSIVE_TARRAY_1",
- "CSN_RECURSIVE_TARRAY_2",
- "CSN_EXIST",
- "CSN_EXIST_LH",
- "CSN_NEXT_EXIST",
- "CSN_NEXT_EXIST_LH",
- "CSN_NULL",
- "CSN_FIXED",
- "CSN_CALLBACK",
- "CSN_UINT_OFFSET",
- "CSN_UINT_LH",
- "CSN_SERIALIZE",
- "CSN_TRAP_ERROR"
- "CSN_???"
-};
-//#endif
/**
* ================================================================================================