Skip to content

Commit 7846f26

Browse files
committed
rcx: fix missing explicit include and name of touched variable
Signed-off-by: Arthur Koucher <arthurkoucher@precisioninno.com>
1 parent 192af93 commit 7846f26

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/rcx/src/extmain.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "rcx/array1.h"
99
#include "rcx/extRCap.h"
1010
#include "rcx/extSpef.h"
11+
#include "rcx/ext_options.h"
1112
#include "utl/Logger.h"
1213

1314
using odb::dbBlock;

src/rcx/src/netRC.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,12 +1813,12 @@ void extMain::makeBlockRCsegs()
18131813

18141814
if ((_processCornerTable != nullptr)
18151815
|| ((_processCornerTable == nullptr) && (rules_file_path_ != nullptr))) {
1816-
const char* rulesfile = rules_file_path_
1817-
? rules_file_path_
1818-
: _prevControl->_ruleFileName.c_str();
1816+
const char* rules_file_path = rules_file_path_
1817+
? rules_file_path_
1818+
: _prevControl->_ruleFileName.c_str();
18191819

18201820
// Reading model file
1821-
if (!setCorners(rulesfile)) {
1821+
if (!setCorners(rules_file_path)) {
18221822
logger_->info(RCX, 128, "skipping Extraction ...");
18231823
return;
18241824
}

0 commit comments

Comments
 (0)