Changeset 1172


Ignore:
Timestamp:
Feb 15, 2007, 11:14:08 AM (12 years ago)
Author:
bruno
Message:

Suppress res variable and returns from mr_getline which is void

File:
1 edited

Legend:

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

    r1171 r1172  
    980980
    981981  FILE   *fin;
    982   int    res = 0, row, i, index_min;
     982  int    row, i, index_min;
    983983  int lastpos = 0;
    984984  size_t len = 0;
     
    999999  row = 1;
    10001000  // skip first output row - contains registered RAID levels
    1001   res = mr_getline(&string, &len, fin);
     1001  mr_getline(&string, &len, fin);
    10021002  // parse the rest
    10031003  while ( !feof_unlocked(fin) ) {
    1004     res = mr_getline(&string, &len, fin);
    1005     if (res <= 0) break;
     1004    mr_getline(&string, &len, fin);
    10061005    // trim leading spaces
    10071006    pos = string;
Note: See TracChangeset for help on using the changeset viewer.