From eb74dc624cc89b670ed7c5556192a8cd9226bd0f Mon Sep 17 00:00:00 2001 From: James Cherry Date: Wed, 2 Feb 2022 12:30:52 -0700 Subject: [PATCH] undo 9938bf7 Signed-off-by: James Cherry --- liberty/LibertyParser.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/liberty/LibertyParser.cc b/liberty/LibertyParser.cc index 693964c4..14f6582b 100644 --- a/liberty/LibertyParser.cc +++ b/liberty/LibertyParser.cc @@ -546,11 +546,8 @@ libertyIncludeBegin(const char *filename) liberty_filename = filename; liberty_line = 1; } - else { - string file(filename); - stringDelete(filename); - libertyParseError("cannot open include file %s.", file.c_str()); - } + else + libertyParseError("cannot open include file %s.", filename); } void