Skip to content

Commit 9bb4fc6

Browse files
authored
Merge pull request #12965 from mattgallagher/patch-1
Fixed faulty boolean logic
2 parents 9580510 + 468acd3 commit 9bb4fc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Demangling/Demangler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2339,7 +2339,7 @@ std::string Demangler::demangleBridgedMethodParams() {
23392339

23402340
while (!nextIf('_')) {
23412341
auto c = nextChar();
2342-
if (!c && c != 'n' && c != 'b')
2342+
if (c != 'n' && c != 'b')
23432343
return std::string();
23442344
Str.push_back(c);
23452345
}

0 commit comments

Comments
 (0)