Don't shadow variable pid of higher-scope

Rename local variable pid to pid_engine.
This commit is contained in:
Sahil Sareen 2015-07-23 23:54:30 +05:30
parent 0a6163daf3
commit e251b6801b

View file

@ -110,9 +110,9 @@ public abstract class ChessEngine : Object
return true;
}
private void engine_stopped_cb (Pid pid)
private void engine_stopped_cb (Pid pid_engine)
requires (started)
requires (pid == this.pid)
requires (pid_engine == this.pid)
{
stop (false);
stopped_unexpectedly ();