diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-12-05 15:56:36 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-12-05 15:56:36 +0000 |
commit | 7cd0417af555a78b19c6909a40d1867e0fe9a063 (patch) | |
tree | cc09f739029479eee683f26228e098db307fd1aa /ui/gtk/gtp_stat.c | |
parent | f8ba6b5a077fa89f1d1e55b5bed4bab0ea6b11cf (diff) |
Fix numerous instances of a variable/parameter name "shadowing" a library function name;
(At least some (gcc ?) compilers give a "shadow" warning for these).
svn path=/trunk/; revision=46402
Diffstat (limited to 'ui/gtk/gtp_stat.c')
-rw-r--r-- | ui/gtk/gtp_stat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/gtp_stat.c b/ui/gtk/gtp_stat.c index 48382a8c3a..5e04472a3b 100644 --- a/ui/gtk/gtp_stat.c +++ b/ui/gtk/gtp_stat.c @@ -134,7 +134,7 @@ win_destroy_cb(GtkWindow *win _U_, gpointer data) static void -gtk_gtpstat_init(const char *optarg, void *userdata _U_) +gtk_gtpstat_init(const char *opt_arg, void *userdata _U_) { gtpstat_t *gtp; const char *filter=NULL; @@ -145,8 +145,8 @@ gtk_gtpstat_init(const char *optarg, void *userdata _U_) GtkWidget *bbox; GtkWidget *close_bt; - if(!strncmp(optarg,"gtp,",4)){ - filter=optarg+4; + if(!strncmp(opt_arg,"gtp,",4)){ + filter=opt_arg+4; } else { filter="gtp"; /*NULL doesn't work here like in LDAP. Too little time/lazy to find out why ?*/ } |