aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bacapp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-10-23 06:29:11 +0000
committerBill Meier <wmeier@newsguy.com>2013-10-23 06:29:11 +0000
commit9874da2fcbfb61cd86efd7d60041b6231a088a7f (patch)
treebd137e552635dd9e24c3e113a02e7db71251f831 /epan/dissectors/packet-bacapp.c
parentdd314cd97e442decbd8cc0e4bcfd57159ec94bcb (diff)
#if 0 numerous "unused const variables" (mostly value-string-arrays);
Also; fix a few "set but not used" warnings. svn path=/trunk/; revision=52780
Diffstat (limited to 'epan/dissectors/packet-bacapp.c')
-rw-r--r--epan/dissectors/packet-bacapp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c
index 5349f527ba..c8cb5fbd07 100644
--- a/epan/dissectors/packet-bacapp.c
+++ b/epan/dissectors/packet-bacapp.c
@@ -2616,12 +2616,14 @@ BACnetLifeSafetyOperation [] = {
procedures and constraints described in Clause 23. */
};
+#if 0
static const value_string
BACnetLimitEnable [] = {
{ 0, "lowLimitEnable"},
{ 1, "highLimitEnable"},
{ 0, NULL}
};
+#endif
static const value_string
BACnetLifeSafetyState [] = {
@@ -2725,6 +2727,7 @@ BACnetUnconfirmedServiceChoice [] = {
{ 0, NULL}
};
+#if 0
static const value_string
BACnetUnconfirmedServiceRequest [] = {
{ 0, "i-Am-Request"},
@@ -2739,6 +2742,7 @@ BACnetUnconfirmedServiceRequest [] = {
{ 9, "utcTimeSynchonization-Request"},
{ 0, NULL}
};
+#endif
static const value_string
BACnetObjectType [] = {
@@ -5038,11 +5042,11 @@ static const fragment_items msg_frag_items = {
"Message fragments"
};
+#if 0
/* if BACnet uses the reserved values, then patch the corresponding values here, maximum 16 values are defined */
+/* FIXME: fGetMaxAPDUSize is commented out, as it is not used. It was used to set variables which were not later used. */
static const guint MaxAPDUSize [] = { 50, 128, 206, 480, 1024, 1476 };
-#if 0
-/* FIXME: fGetMaxAPDUSize is commented out, as it is not used. It was used to set variables which were not later used. */
static guint
fGetMaxAPDUSize(guint8 idx)
{