BIND 10 trac2726, updated. 21034c5291df20ab7b9ebf79c16336af25e16594 [2726] Suppress another false positive
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Jun 12 10:31:19 UTC 2013
The branch, trac2726 has been updated
via 21034c5291df20ab7b9ebf79c16336af25e16594 (commit)
from 9f797b9baa3972fc391a6bfbd2a6a9bae6fcf375 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 21034c5291df20ab7b9ebf79c16336af25e16594
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date: Wed Jun 12 12:31:04 2013 +0200
[2726] Suppress another false positive
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/rdata.cc | 2 ++
1 file changed, 2 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/rdata.cc b/src/lib/dns/rdata.cc
index 081f855..b71df63 100644
--- a/src/lib/dns/rdata.cc
+++ b/src/lib/dns/rdata.cc
@@ -309,6 +309,8 @@ Generic::Generic(const Generic& source) :
Rdata(), impl_(new GenericImpl(*source.impl_))
{}
+// cppcheck-suppress operatorEqToSelf this check is better than
+// this == &source, just that cppcheck doesn't understand it.
Generic&
Generic::operator=(const Generic& source) {
if (impl_ == source.impl_) {
More information about the bind10-changes
mailing list