Commit 25747d9b authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[trac613] added missingInclude to suppression list. it reportedly caused

false alarms on some systems.
parent 09191932
...@@ -2,3 +2,4 @@ unreadVariable:src/lib/dns/rdata/template.cc:59 ...@@ -2,3 +2,4 @@ unreadVariable:src/lib/dns/rdata/template.cc:59
functionConst:src/lib/cache/message_cache.h functionConst:src/lib/cache/message_cache.h
functionConst:src/lib/cache/rrset_cache.h functionConst:src/lib/cache/rrset_cache.h
debug debug
missingInclude
...@@ -75,6 +75,7 @@ MessageCache::update(const Message& msg) { ...@@ -75,6 +75,7 @@ MessageCache::update(const Message& msg) {
return (message_table_.add(msg_entry, entry_key, true)); return (message_table_.add(msg_entry, entry_key, true));
} }
#if 0
void void
MessageCache::dump(const std::string&) { MessageCache::dump(const std::string&) {
//TODO //TODO
...@@ -90,6 +91,7 @@ MessageCache::resize(uint32_t) { ...@@ -90,6 +91,7 @@ MessageCache::resize(uint32_t) {
//TODO //TODO
return (true); return (true);
} }
#endif
} // namespace cache } // namespace cache
} // namespace isc } // namespace isc
......
...@@ -57,6 +57,7 @@ public: ...@@ -57,6 +57,7 @@ public:
/// directly. /// directly.
bool update(const isc::dns::Message& msg); bool update(const isc::dns::Message& msg);
#if 0
/// \brief Dump the message cache to specified file. /// \brief Dump the message cache to specified file.
/// \todo It should can be dumped to one configured database. /// \todo It should can be dumped to one configured database.
void dump(const std::string& file_name); void dump(const std::string& file_name);
...@@ -67,6 +68,7 @@ public: ...@@ -67,6 +68,7 @@ public:
/// \brief Resize the size of message cache in runtime. /// \brief Resize the size of message cache in runtime.
bool resize(uint32_t size); bool resize(uint32_t size);
#endif
protected: protected:
/// \brief Get the hash key for the message entry in the cache. /// \brief Get the hash key for the message entry in the cache.
......
...@@ -83,6 +83,7 @@ RRsetCache::update(const isc::dns::RRset& rrset, const RRsetTrustLevel& level) { ...@@ -83,6 +83,7 @@ RRsetCache::update(const isc::dns::RRset& rrset, const RRsetTrustLevel& level) {
} }
} }
#if 0
void void
RRsetCache::dump(const std::string&) { RRsetCache::dump(const std::string&) {
//TODO //TODO
...@@ -98,6 +99,7 @@ RRsetCache::resize(uint32_t) { ...@@ -98,6 +99,7 @@ RRsetCache::resize(uint32_t) {
//TODO //TODO
return (true); return (true);
} }
#endif
} // namespace cache } // namespace cache
} // namespace isc } // namespace isc
......
...@@ -70,6 +70,7 @@ public: ...@@ -70,6 +70,7 @@ public:
RRsetEntryPtr update(const isc::dns::RRset& rrset, RRsetEntryPtr update(const isc::dns::RRset& rrset,
const RRsetTrustLevel& level); const RRsetTrustLevel& level);
#if 0
/// \brief Dump the rrset cache to specified file. /// \brief Dump the rrset cache to specified file.
/// ///
/// \param file_name The file to write to /// \param file_name The file to write to
...@@ -89,6 +90,7 @@ public: ...@@ -89,6 +90,7 @@ public:
/// \param The size to resize to /// \param The size to resize to
/// \return true /// \return true
bool resize(uint32_t size); bool resize(uint32_t size);
#endif
private: private:
uint16_t class_; // The class of the rrset cache. uint16_t class_; // The class of the rrset cache.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment