mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
Revert "Avoid trailing spaces in each line (#6910)."
This reverts commit d1a9d8913f
.
This commit is contained in:
parent
e0a94b7acf
commit
93cc2e9462
@ -2245,13 +2245,8 @@ static void sql_info(thread_db* tdbb,
|
||||
{
|
||||
auto& localPath = *static_cast<decltype(path)*>(arg);
|
||||
auto lineLen = strlen(line);
|
||||
|
||||
// Trim trailing spaces.
|
||||
while (lineLen > 0 && line[lineLen - 1] == ' ')
|
||||
--lineLen;
|
||||
|
||||
char offsetStr[10];
|
||||
const auto offsetLen = sprintf(offsetStr, "%5d", (int) offset);
|
||||
auto offsetLen = sprintf(offsetStr, "%5d", (int) offset);
|
||||
|
||||
localPath.push(reinterpret_cast<const UCHAR*>(offsetStr), offsetLen);
|
||||
localPath.push(' ');
|
||||
|
Loading…
Reference in New Issue
Block a user