File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments