summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/rdata
diff options
context:
space:
mode:
authorJINMEI Tatuya <jinmei@isc.org>2013-05-04 01:54:00 +0200
committerJINMEI Tatuya <jinmei@isc.org>2013-05-04 01:54:00 +0200
commit5045f86bbd1c7ffaf07c95f7c6ce4d64b1e1c467 (patch)
treebc291c7743c4c18c407083514b90e29e0851f42c /src/lib/dns/rdata
parent[2521] a minor style nit: adjusted a '*' position per style guideline. (diff)
downloadkea-5045f86bbd1c7ffaf07c95f7c6ce4d64b1e1c467.tar.xz
kea-5045f86bbd1c7ffaf07c95f7c6ce4d64b1e1c467.zip
[2521] minor simplification: initialize mem var in the list when possible.
not a big deal in this case, but it's more concise.
Diffstat (limited to 'src/lib/dns/rdata')
-rw-r--r--src/lib/dns/rdata/generic/rrsig_46.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/dns/rdata/generic/rrsig_46.cc b/src/lib/dns/rdata/generic/rrsig_46.cc
index 1b71808620..549b3cfba9 100644
--- a/src/lib/dns/rdata/generic/rrsig_46.cc
+++ b/src/lib/dns/rdata/generic/rrsig_46.cc
@@ -190,9 +190,8 @@ RRSIG::RRSIG(const std::string& rrsig_str) :
/// it is non absolute.
RRSIG::RRSIG(MasterLexer& lexer, const Name* origin,
MasterLoader::Options, MasterLoaderCallbacks&) :
- impl_(NULL)
+ impl_(constructFromLexer(lexer, origin))
{
- impl_ = constructFromLexer(lexer, origin);
}
RRSIG::RRSIG(InputBuffer& buffer, size_t rdata_len) {