Skip to content

Commit aee0f2f

Browse files
committed
Address comments.
Signed-off-by: Keith Rothman <[email protected]>
1 parent c5c9d05 commit aee0f2f

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

utils/fasm/src/fasm.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,6 @@ static const t_metadata_dict *get_fasm_type(const t_pb_graph_node* pb_graph_node
338338
}
339339

340340
const LutOutputDefinition* FasmWriterVisitor::find_lut(const t_pb_graph_node* pb_graph_node) {
341-
const t_pb_graph_node* orig_pb_graph_node = pb_graph_node;
342-
(void)orig_pb_graph_node;
343-
344341
while(pb_graph_node != nullptr) {
345342
VTR_ASSERT(pb_graph_node->pb_type != nullptr);
346343

@@ -413,9 +410,6 @@ const LutOutputDefinition* FasmWriterVisitor::find_lut(const t_pb_graph_node* pb
413410
}
414411

415412
static const t_pb_route *find_pb_route(const t_pb* pb) {
416-
const t_pb* orig_pb = pb;
417-
(void)orig_pb;
418-
419413
while(pb != nullptr) {
420414
if(pb->pb_route != nullptr) {
421415
return pb->pb_route;

utils/fasm/src/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ static bool write_fasm() {
4848
std::string fasm_filename = atom_ctx.nlist.netlist_name() + ".fasm";
4949
vtr::printf("Writing Implementation FASM: %s\n", fasm_filename.c_str());
5050
std::ofstream fasm_os(fasm_filename);
51-
fasm::FasmWriterVisitor visitor2(fasm_os);
52-
NetlistWalker nl_walker2(visitor2);
53-
nl_walker2.walk();
51+
fasm::FasmWriterVisitor visitor(fasm_os);
52+
NetlistWalker nl_walker(visitor);
53+
nl_walker.walk();
5454

5555
return true;
5656
}

0 commit comments

Comments
 (0)