eclipse plugin: Remove dead variable

Issue found by FindBugs
This commit is contained in:
Timotei Dolean 2011-06-24 18:21:37 +00:00
parent 341dfbf0a9
commit 3929dace88

View file

@ -441,15 +441,12 @@ public class WesnothInstallsPage extends AbstractPreferencePage
}
// guess the wmltools path
String wmlToolsValue = wmlToolsField_.getStringValue();
if ( wmlToolsValue.isEmpty() &&
if ( wmlToolsField_.getStringValue().isEmpty() &&
! workingDirValue.isEmpty() )
{
String path = workingDirValue + "/data/tools"; //$NON-NLS-1$
if ( testWMLToolsPath( path ) ) {
wmlToolsField_.setStringValue( path );
wmlToolsValue = path;
}
}