Style fix

This commit is contained in:
Dmitry Kardymon 2023-06-22 10:47:07 +00:00
parent 8bd53cad78
commit 2c3a4cb90d

View File

@ -156,8 +156,7 @@ void CSVFormatReader::skipFieldDelimiter()
{
skipWhitespacesAndTabs(*buf, format_settings.csv.allow_whitespace_or_tab_as_delimiter);
bool res = checkChar(format_settings.csv.delimiter, *buf);
if (!res)
if (!checkChar(format_settings.csv.delimiter, *buf))
{
if (!format_settings.csv.missing_as_default)
{
@ -165,9 +164,7 @@ void CSVFormatReader::skipFieldDelimiter()
throwAtAssertionFailed(err, *buf);
}
else
{
current_row_has_missing_fields = true;
}
}
}