We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1640c06 commit 645af11Copy full SHA for 645af11
common/tensorrt_common/src/tensorrt_common.cpp
@@ -137,6 +137,7 @@ void TrtCommon::setup()
137
is_initialized_ = false;
138
return;
139
}
140
+ // cppcheck-suppress unreadVariable
141
std::string engine_path = model_file_path_;
142
if (model_file_path_.extension() == ".engine") {
143
std::cout << "Load ... " << model_file_path_ << std::endl;
@@ -193,6 +194,7 @@ void TrtCommon::setup()
193
194
logger_.stop_throttle(log_thread);
195
logger_.log(nvinfer1::ILogger::Severity::kINFO, "End build engine");
196
197
198
engine_path = cache_engine_path;
199
} else {
200
0 commit comments