Skip to content

Commit acac7ff

Browse files
committed
[cc] parser cleanup: remove redundant assignment
1 parent 98b81df commit acac7ff

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cc/parse/parser.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,6 @@ impl<'a> Parser<'a> {
21562156

21572157
// Look up symbol to get type (during parsing, symbol is in scope)
21582158
// C99 6.4.2.2: __func__ is a predefined identifier with type const char[]
2159-
let name_str = self.str(name_id);
21602159
let typ = if name_str == "__func__" {
21612160
// __func__ behaves like a string literal (const char[])
21622161
self.types.char_ptr_id

0 commit comments

Comments
 (0)