DroidFish: Removed unnecessary parameter.

This commit is contained in:
Peter Osterlund 2015-10-24 00:59:18 +02:00
parent a95dacafdf
commit b1dbe5293c

View File

@ -77,7 +77,7 @@ public class ExternalEngine extends UCIEngineBase {
synchronized (EngineUtil.nativeLock) {
engineProc = pb.start();
}
reNice(engineProc);
reNice();
startupThread = new Thread(new Runnable() {
@Override
@ -170,7 +170,7 @@ public class ExternalEngine extends UCIEngineBase {
}
/** Try to change the engine process priority to 5. */
private void reNice(Process proc) {
private void reNice() {
try {
java.lang.reflect.Field f = engineProc.getClass().getDeclaredField("pid");
f.setAccessible(true);