summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-09 15:41:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-09 15:41:44 +0100
commit089f89ef1030cdcf5dae2f9e8dc35b092eeecd9c (patch)
treedcf9b4ab326200b904f3c7d1337c0ae0f6101d15
parent953e0df86a7c9ae6ec6cedc20212dbd0b2a6e43f (diff)
New loplugin:externvar: pyuno
Change-Id: Ib6822bf914fe44e8bd590dfe82d25d7c5046ca94
-rw-r--r--pyuno/source/module/pyuno_gc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno_gc.cxx b/pyuno/source/module/pyuno_gc.cxx
index 8293b689e9ca..4520303e3b2b 100644
--- a/pyuno/source/module/pyuno_gc.cxx
+++ b/pyuno/source/module/pyuno_gc.cxx
@@ -27,7 +27,7 @@
namespace pyuno
{
-bool g_destructorsOfStaticObjectsHaveBeenCalled;
+static bool g_destructorsOfStaticObjectsHaveBeenCalled;
class StaticDestructorGuard
{
public:
@@ -36,7 +36,7 @@ public:
g_destructorsOfStaticObjectsHaveBeenCalled = true;
}
};
-StaticDestructorGuard guard;
+static StaticDestructorGuard guard;
static bool isAfterUnloadOrPy_Finalize()
{