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
ISC Open Source Projects
BIND
Commits
f4e309b1
Commit
f4e309b1
authored
Jul 10, 2013
by
Evan Hunt
Browse files
[master] silence warning
parent
a96e5ffb
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/isc/safe.c
View file @
f4e309b1
...
...
@@ -31,12 +31,12 @@ isc_boolean_t
isc_safe_memcmp
(
const
void
*
s1
,
const
void
*
s2
,
size_t
n
)
{
isc_uint8_t
acc
=
0
;
if
(
n
!=
0
)
{
if
(
n
!=
0
U
)
{
const
isc_uint8_t
*
p1
=
s1
,
*
p2
=
s2
;
do
{
acc
|=
*
p1
++
^
*
p2
++
;
}
while
(
--
n
!=
0
);
}
while
(
--
n
!=
0
U
);
}
return
(
ISC_TF
(
acc
==
0
));
}
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