Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vecs
FIJI Public
Commits
3da4b227
Commit
3da4b227
authored
Mar 03, 2015
by
Stefan Tauner
Browse files
fiji_scripts: remove unnecessary (and wrong) hash ref initialization
parent
e614f5ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
FIJI/Settings.pm
View file @
3da4b227
...
...
@@ -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.
");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment