The width variable was declared twice, for the whole function
and also within the for loop, leaving the first one unused
and triggering a warning and a failed build with enable-checking.
Change-Id: Idd061aa0e9eff1f158bfdbd67a20fe5876570089
Reviewed-on: http://gerrit.openafs.org/2039
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
int num_cols = sizeof(scout_col_width) / sizeof(*scout_col_width);
for (i = 0; a_width_item && i < num_cols; i++) {
- int width = atoi(a_width_item->data);
+ width = atoi(a_width_item->data);
if (width > 0) {
int min_width = strlen(scout_underline[i]);
if (min_width) {