]> source.dussan.org Git - tigervnc.git/commitdiff
Log objects should be local
authorPierre Ossman <ossman@cendio.se>
Fri, 21 Jan 2022 15:15:05 +0000 (16:15 +0100)
committerPierre Ossman <ossman@cendio.se>
Fri, 21 Jan 2022 15:15:05 +0000 (16:15 +0100)
Otherwise things might be logged under the wrong label.

unix/vncconfig/vncconfig.cxx
vncviewer/vncviewer.cxx

index 51c389890a9bdcb0b8cf3297205c2fb9675d5e8d..276d0e62bef7c61b1c0e7440625df8a40416acae 100644 (file)
@@ -50,7 +50,7 @@
 
 using namespace rfb;
 
-LogWriter vlog("vncconfig");
+static LogWriter vlog("vncconfig");
 
 StringParameter displayname("display", "The X display", "");
 BoolParameter noWindow("nowin", "Don't display a window", 0);
index adadad78a99fa309037ede72848053d69eeaff83..bf8e7d43d76e7848aaa6f51bd0a4bb4b1342f89c 100644 (file)
@@ -81,7 +81,7 @@
 #include "win32.h"
 #endif
 
-rfb::LogWriter vlog("main");
+static rfb::LogWriter vlog("main");
 
 using namespace network;
 using namespace rfb;