aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-28 15:48:44 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-07-30 21:24:25 +0200
commitb28cfcb62a5d7ce8428f22fcf7e02f18b7e4c1e0 (patch)
tree721d10eecff34413916c2bbeab944327ff052cf5
parent2252f1938e529b28c3ef6530ea224da243820a60 (diff)
femtobts: Remove code that is causing warnings with GCC 4.8
femtobts.c:250:2: warning: excess elements in array initializer [enabled by default] { SuperFemto_ClkSrcId_NetList, "nwl" }, ^ femtobts.c:250:2: warning: (near initialization for ‘femtobts_clksrc_names’) [enabled by default] femtobts.c:251:2: warning: excess elements in array initializer [enabled by default] { 0, NULL } ^ femtobts.c:251:2: warning: (near initialization for ‘femtobts_clksrc_names’) [enabled by default]
-rw-r--r--src/femtobts.c13
-rw-r--r--src/femtobts.h2
2 files changed, 0 insertions, 15 deletions
diff --git a/src/femtobts.c b/src/femtobts.c
index 69b33be..f6957d2 100644
--- a/src/femtobts.c
+++ b/src/femtobts.c
@@ -238,19 +238,6 @@ const struct value_string femtobts_tch_pl_names[] = {
{ 0, NULL }
};
-const struct value_string femtobts_clksrc_names[] = {
- { SuperFemto_ClkSrcId_None, "None" },
- { SuperFemto_ClkSrcId_Ocxo, "ocxo" },
- { SuperFemto_ClkSrcId_Tcxo, "tcxo" },
- { SuperFemto_ClkSrcId_External, "ext" },
- { SuperFemto_ClkSrcId_GpsPps, "gps" },
- { SuperFemto_ClkSrcId_Trx, "trx" },
- { SuperFemto_ClkSrcId_Rx, "rx" },
- { SuperFemto_ClkSrcId_Edge, "edge" },
- { SuperFemto_ClkSrcId_NetList, "nwl" },
- { 0, NULL }
-};
-
const struct value_string femtobts_dir_names[] = {
{ GsmL1_Dir_TxDownlink, "TxDL" },
{ GsmL1_Dir_TxUplink, "TxUL" },
diff --git a/src/femtobts.h b/src/femtobts.h
index f2ac59d..7e45578 100644
--- a/src/femtobts.h
+++ b/src/femtobts.h
@@ -33,8 +33,6 @@ const struct value_string femtobts_tracef_names[29];
const struct value_string femtobts_tch_pl_names[15];
-const struct value_string femtobts_clksrc_names[8];
-
const struct value_string femtobts_dir_names[6];
enum pdch_cs {