Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
b95bc757
Commit
b95bc757
authored
Mar 07, 2003
by
Robert Ricci
Browse files
Fix an unitialized value warning in a seldom-used branch of the code.
parent
3599bb39
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/snmpit_cisco_stack.pm
View file @
b95bc757
...
...
@@ -124,7 +124,9 @@ sub new($$$#@) {
if
(
!
$self
->
{
LEADER
})
{
# XXX: For simplicity, we assume for now that the leader is a Cisco
use
snmpit_cisco
;
$self
->
{
LEADER
}
=
new
snmpit_cisco
(
$self
->
{
STACKID
});
my
$type
=
getDeviceType
(
$self
->
{
STACKID
});
$self
->
{
LEADER
}
=
new
snmpit_cisco
(
$self
->
{
STACKID
},
$self
->
{
DEBUG
},
$type
,
$community
,
$supports_private
)
}
bless
(
$self
,
$class
);
...
...
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