Kaydet (Commit) 3929eab0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Disable loplugin:staticvar for now

produces false positive

> [CXX] svtools/source/svrtf/rtfkeywd.cxx
> /home/sbergman/lo/core/svtools/source/svrtf/rtfkeywd.cxx:38:23: error: var should be const, or whitelisted [loplugin:staticvar]
> static RTF_TokenEntry aRTFTokenTab[] = {
> ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~

Change-Id: I7cd96988218d1192ced2fadff911c7ec89088012
üst c99732d5
......@@ -204,7 +204,7 @@ bool StaticVar::VisitVarDecl(VarDecl const* varDecl)
return true;
}
loplugin::Plugin::Registration<StaticVar> X("staticvar", true);
loplugin::Plugin::Registration<StaticVar> X("staticvar", false);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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