IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27473


Ignore:
Timestamp:
Mar 26, 2010, 11:46:49 AM (16 years ago)
Author:
bills
Message:

fix compile warning about potentailly uninitialized variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libfits/table/F_table_varlength.c

    r27435 r27473  
    101101    *length = ptr[0];
    102102    offset = ptr[1];
    103   }
    104   if (column->mode == 'Q') {
     103  } else if (column->mode == 'Q') {
    105104    off_t *ptr;
    106105    ptr = (off_t *) &ftable->buffer[row*Nx + column->Nstart];
    107106    *length = ptr[0];
    108107    offset = ptr[1];
     108  } else {
     109        // this was actually trapped above
     110        abort();
    109111  }
    110112
Note: See TracChangeset for help on using the changeset viewer.