aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2018-04-11 10:08:53 +0800
committerAnders Broman <a.broman58@gmail.com>2018-04-11 06:24:18 +0000
commitb492011ac1dc4b5cecc8ab738ddee8150df518e0 (patch)
tree3408decffac204fb0a53703c27d1035fb2342241
parentbf01c7c922b9f1081b9589ef3c678627b0489ff0 (diff)
zbee_zcl: (trivial) clean up decode_color_xy()
remove unnecessary return statement remove a wrong comment Change-Id: I40afd8144178a2cccba67289d5a3120dd5719ad0 Reviewed-on: https://code.wireshark.org/review/26868 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Petri-Dish: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-zbee-zcl-general.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-zbee-zcl-general.c b/epan/dissectors/packet-zbee-zcl-general.c
index 8b01703efe..c4b906c027 100644
--- a/epan/dissectors/packet-zbee-zcl-general.c
+++ b/epan/dissectors/packet-zbee-zcl-general.c
@@ -2303,8 +2303,7 @@ static void
decode_color_xy(gchar *s, guint16 value)
{
g_snprintf(s, ITEM_LABEL_LENGTH, "%.4lf", value/65535.0);
- return;
-} /*decode_power_conf_voltage*/
+}
/*FUNCTION:------------------------------------------------------
* NAME