Ignore:
Timestamp:
Feb 6, 2007, 11:10:01 AM (13 years ago)
Author:
Bruno Cornec
Message:

Fix again another set of compiler warnings (Michel Loiseleur <mloiseleur_at_linagora.com>)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-raid.c

    r1080 r1103  
    232232 */
    233233void add_disk_to_raid_device(struct list_of_disks *disklist,
    234                              char *device_to_add, int index)
     234                             char *device_to_add, int idx)
    235235{
    236236    int items;
     
    240240    items = disklist->entries;
    241241    strcpy(disklist->el[items].device, device_to_add);
    242     disklist->el[items].index = index;
     242    disklist->el[items].index = idx;
    243243    items++;
    244244    disklist->entries = items;
     
    696696
    697697    struct list_of_disks *disklist;
    698     int index;
    699698    int v;
    700699
     
    754753            log_it(tmp);
    755754        } else {
    756             index = atoi(valueB);
    757             add_disk_to_raid_device(disklist, value, index);
     755            add_disk_to_raid_device(disklist, value, atoi(valueB));
    758756        }
    759757    } else {
Note: See TracChangeset for help on using the changeset viewer.