Kaydet (Commit) 35ce23bd authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Avoid loplugin:staticmethods in non-debug build

Change-Id: I9f98e86556ed4435d24f49b32b848eb9f9a66008
üst 24dd1b32
...@@ -340,7 +340,7 @@ public: ...@@ -340,7 +340,7 @@ public:
// Check if common attribute list is empty. // Check if common attribute list is empty.
#ifndef DBG_UTIL #ifndef DBG_UTIL
void CheckAttrList() {} void CheckAttrList() { (void) this; /* avoid loplugin:staticmethods */ }
#else #else
void CheckAttrList(); void CheckAttrList();
#endif #endif
......
...@@ -241,6 +241,8 @@ void XMLTextImportPropertyMapper::FontDefaultsCheck( ...@@ -241,6 +241,8 @@ void XMLTextImportPropertyMapper::FontDefaultsCheck(
aAny ); aAny );
} }
} }
(void) this; // avoid loplugin:staticmethods
} }
namespace { namespace {
......
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