aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/filesystem.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-07-29 14:43:40 -0700
committerGuy Harris <guy@alum.mit.edu>2019-07-29 22:23:36 +0000
commit40af4aa93e469d37bd8e712228ecccb07407c3c6 (patch)
treeebb7d763e9447c2c1842fa9004721d6add83bbdd /wsutil/filesystem.h
parentf0cde7ca34a4975370e1b9ded2fee7df266343f6 (diff)
Rename variable to eliminate shadow variable warning.
get_profile_dir() already calls the corresponding variable is_system; use that in profile_exists() as well. Change-Id: Icce42b2074d64c46598cc7561b3c5468da8ede90 Reviewed-on: https://code.wireshark.org/review/34131 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil/filesystem.h')
-rw-r--r--wsutil/filesystem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsutil/filesystem.h b/wsutil/filesystem.h
index 5be6517579..712b74444a 100644
--- a/wsutil/filesystem.h
+++ b/wsutil/filesystem.h
@@ -149,7 +149,7 @@ WS_DLL_PUBLIC void profile_store_persconffiles(gboolean store);
/*
* Check if given configuration profile exists.
*/
-WS_DLL_PUBLIC gboolean profile_exists(const gchar *profilename, gboolean system);
+WS_DLL_PUBLIC gboolean profile_exists(const gchar *profilename, gboolean is_system);
/*
* Create a directory for the given configuration profile.