Remove trailing whitespace (#3668)

This commit is contained in:
John Vandenberg
2022-07-07 17:18:20 +08:00
committed by GitHub
parent 0af9524e16
commit 0e6e16645c
1330 changed files with 23570 additions and 23571 deletions

View File

@@ -24,7 +24,7 @@ int main(int argc, char** argv)
std::cout << "usage: " << argv[0] << ": [-i] [-x] pattern" << std::endl;
return 1;
}
std::string pattern;
int options = 0;
for (int i = 1; i < argc; ++i)
@@ -37,9 +37,9 @@ int main(int argc, char** argv)
else
pattern = arg;
}
RegularExpression re(pattern, options);
int c = std::cin.get();
while (c != -1)
{
@@ -56,6 +56,6 @@ int main(int argc, char** argv)
if (c != -1) c = std::cin.get();
}
return 0;
}