[F] Fixed warnings with -Wpedantic option

This commit is contained in:
seleznevae
2018-05-08 21:46:24 +03:00
parent 78acb23c47
commit e8f6bee7f5
11 changed files with 14 additions and 50 deletions

View File

@@ -34,8 +34,10 @@ static int create_simple_table_and_show(void)
result = 1;
goto exit;
}
// if (set_test_options_for_table(table) != FT_SUCCESS)
// return 2;
/*
if (set_test_options_for_table(table) != FT_SUCCESS)
return 2;
*/
if (ft_set_cell_option(table, 0, FT_ANY_COLUMN, FT_COPT_ROW_TYPE, FT_ROW_HEADER) != FT_SUCCESS) {
result = 3;
@@ -73,7 +75,7 @@ static int create_simple_table_and_show(void)
"| 3 | c | 234 | 3.140000 |\n"
"| | | | |\n"
"+---+---+-----+----------+\n";
// assert_str_equal(table_str, table_str_etalon);
/*assert_str_equal(table_str, table_str_etalon);*/
if (strcmp(table_str, table_str_etalon) != 0) {
result = 8;
goto exit;