Drop redundant casts to the same type

This commit is contained in:
Christian Göttsche
2020-09-28 12:17:52 +02:00
committed by cgzones
parent 214c742ae1
commit 843949131a
9 changed files with 12 additions and 12 deletions

View File

@ -57,7 +57,7 @@ void InfoScreen_addLine(InfoScreen* this, const char* line) {
Vector_add(this->lines, (Object*) ListItem_new(line, 0));
const char* incFilter = IncSet_filter(this->inc);
if (!incFilter || String_contains_i(line, incFilter))
Panel_add(this->display, (Object*)Vector_get(this->lines, Vector_size(this->lines)-1));
Panel_add(this->display, Vector_get(this->lines, Vector_size(this->lines)-1));
}
void InfoScreen_appendLine(InfoScreen* this, const char* line) {