epan: remove return from functions returning void.
authorDario Lombardo <lomato@gmail.com>
Thu, 3 Jan 2019 16:45:02 +0000 (17:45 +0100)
committerAnders Broman <a.broman58@gmail.com>
Fri, 4 Jan 2019 05:07:58 +0000 (05:07 +0000)
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>
epan/color_filters.c
epan/strutil.c

index 1283f94e5ee7fd418560756a74ad41a587d34cc3..b3f4f0ab98096201b4e01d2a80864cb5d2a52e15 100644 (file)
@@ -108,8 +108,6 @@ color_filters_add_tmp(GSList **cfl)
 
     g_strfreev(fg_colors);
     g_strfreev(bg_colors);
-
-    return;
 }
 
 static gint
index ff2a6c264237fe2f4a0601bcd2b05f5aa9276933..0a31750e739f09acc006671678879dda82d52c21 100644 (file)
@@ -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;
 }
 
 /*