From 089f89ef1030cdcf5dae2f9e8dc35b092eeecd9c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 9 Jan 2017 15:41:44 +0100 Subject: New loplugin:externvar: pyuno Change-Id: Ib6822bf914fe44e8bd590dfe82d25d7c5046ca94 --- pyuno/source/module/pyuno_gc.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyuno') 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() { -- cgit