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
65ec49af
Commit
65ec49af
authored
May 14, 2000
by
David Lawrence
Browse files
"view.c", line 541: remark(1552): variable "version" was set but never used
Removed "version" from function.
parent
0013c93b
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/view.c
View file @
65ec49af
...
...
@@ -538,7 +538,6 @@ dns_view_find(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
{
isc_result_t
result
;
dns_db_t
*
db
;
dns_dbversion_t
*
version
;
isc_boolean_t
is_zone
;
dns_rdataset_t
zrdataset
,
zsigrdataset
;
dns_zone_t
*
zone
;
...
...
@@ -598,7 +597,6 @@ dns_view_find(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
* don't know it.
*/
is_zone
=
ISC_FALSE
;
version
=
NULL
;
dns_db_detach
(
&
db
);
dns_db_attach
(
view
->
cachedb
,
&
db
);
goto
db_find
;
...
...
@@ -629,7 +627,6 @@ dns_view_find(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,
* Remember what we've got and go look in the cache.
*/
is_zone
=
ISC_FALSE
;
version
=
NULL
;
dns_rdataset_clone
(
rdataset
,
&
zrdataset
);
dns_rdataset_disassociate
(
rdataset
);
if
(
sigrdataset
!=
NULL
&&
...
...
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