Commit 3da4b227 authored by Stefan Tauner's avatar Stefan Tauner
Browse files

fiji_scripts: remove unnecessary (and wrong) hash ref initialization

parent e614f5ab
......@@ -127,9 +127,7 @@ sub read_settingsfile {
return undef;
}
my $fiji_settings_ref;
if (!defined($existing_settings)) {
$fiji_settings_ref = \{};
} else {
if (defined($existing_settings)) {
$fiji_settings_ref = $existing_settings;
if (!blessed($fiji_settings_ref) || !$fiji_settings_ref->isa("FIJI::Settings")) {
$logger->error("Given settings are not of type FIJI::Settings.");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment