Skip to content

Commit 2f425ac

Browse files
committed
[WARNINGS] make the build warning free.
1 parent 4484c9f commit 2f425ac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Launcher.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ class Launcher : public PluginHost::IPlugin {
174174
public:
175175
void Register(IProcessState* observer) {
176176
_adminLock.Lock();
177-
auto found = std::find(_callbacks.begin(), _callbacks.end(), observer);
178-
ASSERT(found == _callbacks.end());
177+
ASSERT (std::find(_callbacks.begin(), _callbacks.end(), observer) == _callbacks.end());
179178
if (_callbacks.empty()) {
180179
const bool opened = Open();
180+
DEBUG_VARIABLE(opened);
181181
ASSERT(opened);
182182
}
183183
_callbacks.push_back(observer);
@@ -667,7 +667,7 @@ class Launcher : public PluginHost::IPlugin {
667667
_shutdownPhase = 2;
668668

669669
TRACE_L1("Trying to force kill\n");
670-
for (int i = 0; i < _processList.size(); i++) {
670+
for (int i = 0; i < static_cast<int>(_processList.size()); i++) {
671671
::kill(_processList[i], SIGKILL);
672672
}
673673

0 commit comments

Comments
 (0)