eclipse plugin: Remove dead variable
Issue found by FindBugs
This commit is contained in:
parent
341dfbf0a9
commit
3929dace88
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue