forked from OSchip/llvm-project
[lit] Remove unused variable in googletest format
Summary: `prefix` is written to but never read. Reviewers: echristo, delcypher, beanz, ddunbar Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D25408 llvm-svn: 283706
This commit is contained in:
parent
ea76cdb22e
commit
e35cf5deb8
|
|
@ -52,7 +52,6 @@ class GoogleTest(TestFormat):
|
||||||
# handle it here in case upstream googletest is being used.
|
# handle it here in case upstream googletest is being used.
|
||||||
continue
|
continue
|
||||||
|
|
||||||
prefix = ''
|
|
||||||
index = 0
|
index = 0
|
||||||
while ln[index*2:index*2+2] == ' ':
|
while ln[index*2:index*2+2] == ' ':
|
||||||
index += 1
|
index += 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue