aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-05-13 12:48:36 -0700
committerJosh Blum <josh@joshknows.com>2011-05-13 12:48:36 -0700
commit5b03ad6473167bdb02c5ad4d88b1460f4ecc5e6a (patch)
tree22d23537ab027ac97cd323a9dc90debb5265d6eb /host/lib/utils
parent853d8121aff4f56452c8d9950bae143297547c5b (diff)
downloaduhd-5b03ad6473167bdb02c5ad4d88b1460f4ecc5e6a.tar.gz
uhd-5b03ad6473167bdb02c5ad4d88b1460f4ecc5e6a.tar.bz2
uhd-5b03ad6473167bdb02c5ad4d88b1460f4ecc5e6a.zip
uhd: init log file lock ptr to null
Diffstat (limited to 'host/lib/utils')
-rw-r--r--host/lib/utils/log.cpp4
1 files changed, 4 insertions, 0 deletions
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;