我有以下法典:
void CScriptTable::EnumReferences(asIScriptEngine *engine)
{
if (m_table)
{
// Call the gc enum callback for each nested table
size_t col = 0, row = 0, num_cols = m_table->numCols(), num_rows = m_table->numRows();
for( col; col < num_cols; col++ ) // Line 92
{
if (m_table->getColType(col) == COL_TABLE) {
for (row; row < num_rows; row++){ // Line 95
Table * tbl = m_table->getTable(row, col);
engine->GCEnumCallback(tbl);
}
}
}
}
}
When compiling, (g++), the warning (statement has no effect) is issued for line 92 & 95 (indicated in the snippet above)
我不明白,为什么他们没有效果,尽管我当时正在挨饿,但是,如果他们能够发现我所失踪的人的话,他们会与第二手眼睛相干。