Skip to content

Commit f104898

Browse files
committed
[ImportVerilog] Remove unused variable, NFC
Remove an unused location variable that was tracking the location of a substitution variable. This isn't needed for the kinds of errors that can be emitted by this code. (This variable wasn't supposed to be used in place of `loc`.) Signed-off-by: Schuyler Eldridge <[email protected]>
1 parent 321a598 commit f104898

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Conversion/ImportVerilog/FormatStrings.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ struct FormatStringParser {
113113
assert(!arguments.empty() && "Slang guarantees correct arg count");
114114
const auto &arg = *arguments[0];
115115
arguments = arguments.drop_front();
116-
auto argLoc = context.convertLocation(arg.sourceRange);
117116

118117
// Handle the different formatting options.
119118
// See IEEE 1800-2017 § 21.2.1.2 "Format specifications".

0 commit comments

Comments
 (0)