diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-06-23 17:35:17 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-06-26 06:01:22 +0000 |
commit | bfb6f62e368825d862d2ceac91662a6e6de06ddd (patch) | |
tree | 774a33c6b1fc706193ededc47d22c82e59aa07ba /epan/srt_table.c | |
parent | b845e29d97c9f30c8e7369835f084af19455cbbb (diff) | |
download | wireshark-bfb6f62e368825d862d2ceac91662a6e6de06ddd.tar.gz |
srt: rename shadow variable
Change-Id: I69bda25f79b6b46bdb288e32133847a853b614e0
Reviewed-on: https://code.wireshark.org/review/16101
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/srt_table.c')
-rw-r--r-- | epan/srt_table.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/srt_table.c b/epan/srt_table.c index af7278f85a..2a583df5d3 100644 --- a/epan/srt_table.c +++ b/epan/srt_table.c @@ -254,7 +254,7 @@ init_srt_table(const char *name, const char *short_name, GArray *srt_array, int table->procedures=(srt_procedure_t *)g_malloc(sizeof(srt_procedure_t)*num_procs); for(i=0;i<num_procs;i++){ time_stat_init(&table->procedures[i].stats); - table->procedures[i].index = 0; + table->procedures[i].proc_index = 0; table->procedures[i].procedure = NULL; } @@ -280,11 +280,11 @@ init_srt_table_row(srt_stat_table *rst, int indx, const char *procedure) rst->procedures=(srt_procedure_t *)g_realloc(rst->procedures, sizeof(srt_procedure_t)*(rst->num_procs)); for(i=old_num_procs;i<rst->num_procs;i++){ time_stat_init(&rst->procedures[i].stats); - rst->procedures[i].index = i; + rst->procedures[i].proc_index = i; rst->procedures[i].procedure=NULL; } } - rst->procedures[indx].index = indx; + rst->procedures[indx].proc_index = indx; rst->procedures[indx].procedure=g_strdup(procedure); } |