mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-25 16:50:50 +01:00
Remove some warnings
Change-Id: I18456e133c84e81adf5b18171ed23e7d15f6644b
This commit is contained in:
@@ -47,7 +47,7 @@ KDCoordinate ListController::columnWidth(int i) {
|
||||
return m_tableView.bounds().width()-k_functionNameWidth;
|
||||
default:
|
||||
assert(false);
|
||||
break;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ KDCoordinate ListController::cumulatedWidthFromIndex(int i) {
|
||||
return m_tableView.bounds().width();
|
||||
default:
|
||||
assert(false);
|
||||
break;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -214,7 +214,7 @@ View * ListController::reusableCell(int index, int type) {
|
||||
return &m_expressionCells[index];
|
||||
default:
|
||||
assert(false);
|
||||
break;
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -27,9 +27,11 @@ View * InputViewController::ContentView::subviewAtIndex(int index) {
|
||||
return &m_textField;
|
||||
} else {
|
||||
assert(false);
|
||||
return nullptr;
|
||||
}
|
||||
default:
|
||||
assert(false);
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user