mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +01:00
fixed some warnings and minor issues detected by clang-analyzer
Conflicts: Data/src/RecordSet.cpp
This commit is contained in:
@@ -267,7 +267,7 @@ void PageReader::nextToken(std::istream& istr, std::string& token)
|
||||
if (ch == '<' && istr.peek() == '%')
|
||||
{
|
||||
token += "<%";
|
||||
ch = istr.get();
|
||||
istr.get();
|
||||
ch = istr.peek();
|
||||
switch (ch)
|
||||
{
|
||||
@@ -300,7 +300,7 @@ void PageReader::nextToken(std::istream& istr, std::string& token)
|
||||
else if (ch == '%' && istr.peek() == '>')
|
||||
{
|
||||
token += "%>";
|
||||
ch = istr.get();
|
||||
istr.get();
|
||||
}
|
||||
else token += (char) ch;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user