diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-08-06 03:44:55 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-08-06 03:44:55 +0000 |
commit | 5fb6e97fb43b2b7929a7bb20b1d408b798d95551 (patch) | |
tree | 32b19974cee8f9cb038186254b92b64e98975504 /gtk/stats_tree_stat.c | |
parent | b992c7339116ada28b7021349a6dbea9f023ded0 (diff) |
Squelch more const warnings (and fix some memory leaks that found).
_U_-ify some unused arguments, rather than assigning them to themselves.
Un-constify one variable that gets assigned a mallocated pointer.
Clean up indentation.
svn path=/trunk/; revision=15236
Diffstat (limited to 'gtk/stats_tree_stat.c')
-rw-r--r-- | gtk/stats_tree_stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/stats_tree_stat.c b/gtk/stats_tree_stat.c index 07394ebe54..ebde04b424 100644 --- a/gtk/stats_tree_stat.c +++ b/gtk/stats_tree_stat.c @@ -196,7 +196,7 @@ static void free_gtk_tree(GtkWindow *win _U_, stats_tree *st) /* initializes the stats_tree window */ -static void init_gtk_tree(char* optarg) { +static void init_gtk_tree(const char* optarg) { guint8* abbr = stats_tree_get_abbr(optarg); stats_tree* st = NULL; stats_tree_cfg* cfg = NULL; |