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 /tap-stats_tree.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 'tap-stats_tree.c')
-rw-r--r-- | tap-stats_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tap-stats_tree.c b/tap-stats_tree.c index 732154ff67..9533ac533a 100644 --- a/tap-stats_tree.c +++ b/tap-stats_tree.c @@ -67,7 +67,7 @@ static void draw_stats_tree(void *psp) { } -static void init_stats_tree(char *optarg) { +static void init_stats_tree(const char *optarg) { guint8* abbr = stats_tree_get_abbr(optarg); GString *error_string; stats_tree_cfg *cfg = NULL; |