1
0
Fork 0

[F] Fixed amalgamation error

This commit is contained in:
seleznevae 2019-01-01 23:28:42 +03:00
parent 3ca140a569
commit 1070eebf97
1 changed files with 1 additions and 1 deletions

View File

@ -5307,7 +5307,6 @@ string_buffer_t *get_cur_str_buffer_and_create_if_not_exists(ft_table_t *table)
FT_INTERNAL
fort_status_t get_table_sizes(const ft_table_t *table, size_t *rows, size_t *cols)
{
size_t row_index = 0;
*rows = 0;
*cols = 0;
if (table && table->rows) {
@ -5321,6 +5320,7 @@ fort_status_t get_table_sizes(const ft_table_t *table, size_t *rows, size_t *col
*cols = cols_in_row;
}
*/
size_t row_index = 0;
for (row_index = 0; row_index < vector_size(table->rows); ++row_index) {
fort_row_t *row = *(fort_row_t **)vector_at(table->rows, row_index);
size_t cols_in_row = columns_in_row(row);