Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
b95bc757
Commit
b95bc757
authored
Mar 07, 2003
by
Robert Ricci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix an unitialized value warning in a seldom-used branch of the code.
parent
3599bb39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tbsetup/snmpit_cisco_stack.pm
tbsetup/snmpit_cisco_stack.pm
+3
-1
No files found.
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
Markdown
is supported
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