aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2019-01-03 17:45:02 +0100
committerAnders Broman <a.broman58@gmail.com>2019-01-04 05:07:58 +0000
commit9aa63d2406dc8248f6220e62bf0359ade597c309 (patch)
tree0e4b1777caf1d5c8ee449ca96d363befb23f4192
parent1db84c93307643ab42c726815b89fe65089f6fbc (diff)
epan: remove return from functions returning void.
Found by clang-tidy. Change-Id: Ibedfec5e5d3eca7c2e65319b7ecb4dcbe974b88b Reviewed-on: https://code.wireshark.org/review/31337 Petri-Dish: Dario Lombardo <lomato@gmail.com> Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/color_filters.c2
-rw-r--r--epan/strutil.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/epan/color_filters.c b/epan/color_filters.c
index 1283f94e5e..b3f4f0ab98 100644
--- a/epan/color_filters.c
+++ b/epan/color_filters.c
@@ -108,8 +108,6 @@ color_filters_add_tmp(GSList **cfl)
g_strfreev(fg_colors);
g_strfreev(bg_colors);
-
- return;
}
static gint
diff --git a/epan/strutil.c b/epan/strutil.c
index ff2a6c2642..0a31750e73 100644
--- a/epan/strutil.c
+++ b/epan/strutil.c
@@ -1140,7 +1140,6 @@ IA5_7BIT_decode(unsigned char * dest, const unsigned char* src, int len)
i += g_unichar_to_utf8(buf,&(dest[i]));
}
dest[i]=0;
- return;
}
/*