diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-01-20 11:14:45 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-01-21 02:32:46 +0000 |
commit | faedd049af0b842a834402038280630bde658830 (patch) | |
tree | 6aba530684b1a0a28c1e717ea1510ddec6ed62bd /ui/profile.c | |
parent | 4dd3f668dc9a86be0353d9572d9624bb7cca9bf5 (diff) | |
download | wireshark-faedd049af0b842a834402038280630bde658830.tar.gz wireshark-faedd049af0b842a834402038280630bde658830.tar.bz2 wireshark-faedd049af0b842a834402038280630bde658830.zip |
profile_name_is_valid() returns a malloced string [-Wcast-qual]
Change-Id: I584cdbf6a09e818e0d14c951defdde2fc96787f3
Reviewed-on: https://code.wireshark.org/review/13440
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'ui/profile.c')
-rw-r--r-- | ui/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/profile.c b/ui/profile.c index 361bd8fe83..2493dd323b 100644 --- a/ui/profile.c +++ b/ui/profile.c @@ -348,7 +348,7 @@ init_profile_list(void) copy_profile_list (); } -const gchar * +gchar * profile_name_is_valid(const gchar *name) { gchar *reason = NULL; |