We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-Wshadow
1 parent 3b572f2 commit 1e8f324Copy full SHA for 1e8f324
simplecpp.cpp
@@ -317,9 +317,9 @@ class simplecpp::TokenList::Stream {
317
// The UTF-16 BOM is 0xfffe or 0xfeff.
318
if (ch1 >= 0xfe) {
319
(void)get();
320
- const unsigned short bom = (static_cast<unsigned char>(ch1) << 8);
+ const unsigned short byte = (static_cast<unsigned char>(ch1) << 8);
321
if (peek() >= 0xfe)
322
- return bom | static_cast<unsigned char>(get());
+ return byte | static_cast<unsigned char>(get());
323
unget();
324
return 0;
325
}
0 commit comments