Fix warning: variable ‘widget’ set but not used
This commit is contained in:
parent
6345a9bdee
commit
71cc7a163d
1 changed files with 0 additions and 3 deletions
|
|
@ -149,12 +149,9 @@ static void CalculateWidgetDimensions(txt_table_t *table,
|
|||
unsigned int *row_heights,
|
||||
unsigned int *w, unsigned int *h)
|
||||
{
|
||||
txt_widget_t *widget;
|
||||
int cell_w, cell_h;
|
||||
int x1, y1;
|
||||
|
||||
widget = table->widgets[y * table->columns + x];
|
||||
|
||||
// Find which cells this widget occupies.
|
||||
CellOverflowedSize(table, x, y, &cell_w, &cell_h);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue