From 5b03ad6473167bdb02c5ad4d88b1460f4ecc5e6a Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 13 May 2011 12:48:36 -0700 Subject: uhd: init log file lock ptr to null --- host/lib/utils/log.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host/lib/utils') diff --git a/host/lib/utils/log.cpp b/host/lib/utils/log.cpp index 4c4e0066d..7d11877a1 100644 --- a/host/lib/utils/log.cpp +++ b/host/lib/utils/log.cpp @@ -95,6 +95,10 @@ public: uhd::_log::verbosity_t verbosity, level; log_resource_type(void){ + + //file lock pointer must be null + _file_lock = NULL; + //set the default log level level = uhd::_log::never; -- cgit v1.2.3