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
Sebastian Schrader
Kea
Commits
b5ee1d01
Commit
b5ee1d01
authored
Nov 13, 2012
by
Shane Kerr
Browse files
Fix broken Solaris build by initializing variable.
parent
acbcce24
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/rrttl.cc
View file @
b5ee1d01
...
...
@@ -92,7 +92,7 @@ RRTTL::RRTTL(const std::string& ttlstr) {
// There's a unit now.
units_mode
=
true
;
// Find the unit and get the size.
uint32_t
multiply
;
uint32_t
multiply
=
1
;
// initialize to silence compiler warnings
bool
found
=
false
;
for
(
size_t
i
=
0
;
i
<
sizeof
(
units
)
/
sizeof
(
*
units
);
++
i
)
{
if
(
toupper
(
*
unit
)
==
units
[
i
].
unit
)
{
...
...
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