diff options
author | JINMEI Tatuya <jinmei@isc.org> | 2013-05-04 01:54:00 +0200 |
---|---|---|
committer | JINMEI Tatuya <jinmei@isc.org> | 2013-05-04 01:54:00 +0200 |
commit | 5045f86bbd1c7ffaf07c95f7c6ce4d64b1e1c467 (patch) | |
tree | bc291c7743c4c18c407083514b90e29e0851f42c /src/lib/dns/rdata | |
parent | [2521] a minor style nit: adjusted a '*' position per style guideline. (diff) | |
download | kea-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.cc | 3 |
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) { |