BIND 10 trac2726, updated. dc488cb9679c44617fdac1aebb6a821bddd39736 [2726] Suppress warnings about unused functions
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Jun 12 09:02:32 UTC 2013
The branch, trac2726 has been updated
via dc488cb9679c44617fdac1aebb6a821bddd39736 (commit)
from e05af734b0416593a0978c3ab22bfd2ee1d991ed (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 dc488cb9679c44617fdac1aebb6a821bddd39736
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date: Wed Jun 12 11:01:30 2013 +0200
[2726] Suppress warnings about unused functions
They are used, but cppcheck is probably confused about use from friend
class and templates. I'd be confused myself and I'm not written in C++,
so it is excused.
-----------------------------------------------------------------------
Summary of changes:
src/lib/datasrc/memory/domaintree.h | 2 ++
1 file changed, 2 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/domaintree.h b/src/lib/datasrc/memory/domaintree.h
index d6ab84f..68b58a7 100644
--- a/src/lib/datasrc/memory/domaintree.h
+++ b/src/lib/datasrc/memory/domaintree.h
@@ -834,6 +834,7 @@ private:
/// the top node
///
/// \exception None
+ // cppcheck-suppress unusedPrivateFunction (false positive, it is used)
void pop() {
assert(!isEmpty());
--level_count_;
@@ -846,6 +847,7 @@ private:
/// otherwise the node should be the root node of DomainTree.
///
/// \exception None
+ // cppcheck-suppress unusedPrivateFunction (false positive, it is used)
void push(const DomainTreeNode<T>* node) {
assert(level_count_ < RBT_MAX_LEVEL);
nodes_[level_count_++] = node;
More information about the bind10-changes
mailing list