Skip to content

Commit 6855968

Browse files
committed
fixing comments
1 parent 0c10ebb commit 6855968

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

demos/common/cpp/monitors/src/presenter.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ const std::map<int, MonitorType> keyToMonitorType{
1919

2020
std::set<MonitorType> strKeysToMonitorSet(const std::string& keys) {
2121
std::set<MonitorType> enabledMonitors;
22+
if (keys == "h") {
23+
return enabledMonitors;
24+
}
2225
for (unsigned char key: keys) {
2326
auto iter = keyToMonitorType.find(std::toupper(key));
2427
if (keyToMonitorType.end() == iter) {

demos/interactive_face_detection_demo/cpp/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ void parse(int argc, char *argv[]) {
123123
} if (FLAGS_m.empty()) {
124124
throw std::invalid_argument{"-m <MODEL FILE> can't be empty"};
125125
}
126-
return;
127126
}
128127
} // namespace
129128

@@ -133,7 +132,6 @@ int main(int argc, char *argv[]) {
133132
PerformanceMetrics metrics;
134133

135134
// --------------------------- 1. Loading Inference Engine -----------------------------
136-
slog::info << ov::get_openvino_version() << slog::endl;
137135
ov::Core core;
138136

139137
FaceDetection faceDetector(FLAGS_m, FLAGS_t, FLAGS_r,

demos/interactive_face_detection_demo/cpp_gapi/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ void parse(int argc, char *argv[]) {
159159
} if (FLAGS_m.empty()) {
160160
throw std::invalid_argument{"-m <MODEL FILE> can't be empty"};
161161
}
162-
return;
163162
}
164163

165164
static const std::vector<std::string> EMOTION_VECTOR = {"neutral",

0 commit comments

Comments
 (0)