Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
fc5ae319
Commit
fc5ae319
authored
Mar 09, 2020
by
Evan Hunt
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up dead code
removed an if statement that always evaluated to false
parent
5703f704
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
lib/isc/sockaddr.c
lib/isc/sockaddr.c
+0
-3
No files found.
lib/isc/sockaddr.c
View file @
fc5ae319
...
...
@@ -501,9 +501,6 @@ isc_sockaddr_fromsockaddr(isc_sockaddr_t *isa, const struct sockaddr *sa) {
default:
return
(
ISC_R_NOTIMPLEMENTED
);
}
if
(
length
==
0
)
{
return
(
ISC_R_NOTIMPLEMENTED
);
}
memset
(
isa
,
0
,
sizeof
(
isc_sockaddr_t
));
memcpy
(
isa
,
sa
,
length
);
...
...
Evan Hunt
@each
mentioned in commit
1ac20062
·
Mar 17, 2020
mentioned in commit
1ac20062
mentioned in commit 1ac200626b5677844659b11c31c0c9699e0a6348
Toggle commit list
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