Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
8ec8a19d
Commit
8ec8a19d
authored
Feb 18, 2014
by
Mukund Sivaraman
Browse files
[2426] Initialize rdlen (apparently cppcheck doesn't detect the throw and complains)
parent
659fb323
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lib/dns/rdata.cc
View file @
8ec8a19d
...
...
@@ -221,7 +221,8 @@ Generic::constructFromLexer(MasterLexer& lexer) {
"unknown RDATA encoding"
);
}
uint32_t
rdlen
;
// Initialize with an absurd value.
uint32_t
rdlen
=
65536
;
try
{
rdlen
=
lexer
.
getNextToken
(
MasterToken
::
NUMBER
).
getNumber
();
...
...
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