Changeset 3082 for trunk/src


Ignore:
Timestamp:
11/25/15 15:51:51 (9 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: Yes/No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...


Make TableTraverse warning free.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/TableTraverse.cpp

    r2316 r3082  
    244244      colValues[i] = NULL;
    245245    }
    246     size_t sizes[colCount];
     246    //size_t sizes[colCount];
    247247    const uInt nRows = table.nrow();
    248248    for (uInt i = 0; i < colCount; i++) {
    249249      cols[i] = new ROTableColumn(table, columnNames[i]);
    250250      colValues[i] = typeManagers[i]->allocArray(nRows);
    251       sizes[i] = typeManagers[i]->sizeOf();
     251      //sizes[i] = typeManagers[i]->sizeOf();
    252252      BaseColumn *baseCol = ROTableColumnBackDoor::baseColumnPtr(cols[i]);
    253253      copyColumnData(colValues[i], typeManagers[i]->sizeOf(), nRows, baseCol);
Note: See TracChangeset for help on using the changeset viewer.