[F] Fixed clang-tidy

This commit is contained in:
seleznevae 2019-01-01 23:06:19 +03:00
parent 4943f941d4
commit e54eaf7bfe
3 changed files with 6 additions and 5 deletions

View File

@ -153,7 +153,8 @@ script:
if [ "${BASIC_LINUX_CLANG}" = "yes" ]; then
# don't know how force warnings of clang-tidy to be errors
cp .clang-tidy lib
clang-tidy -dump-config lib/fort.c
clang-tidy lib/fort.c
echo "Clang-tidy exit code is $?"
fi

View File

@ -4125,7 +4125,7 @@ fort_row_t *create_row_from_string(const char *str)
char_type *pos = NULL;
char_type *base_pos = NULL;
unsigned int number_of_separators = 0;
size_t number_of_separators = 0;
fort_row_t *row = create_row();
if (row == NULL)
@ -4214,7 +4214,7 @@ fort_row_t *create_row_from_wstring(const wchar_t *str)
char_type *pos = NULL;
char_type *base_pos = NULL;
unsigned int number_of_separators = 0;
size_t number_of_separators = 0;
fort_row_t *row = create_row();
if (row == NULL)