diff options
| author | Josh Blum <josh@joshknows.com> | 2011-05-13 12:48:36 -0700 | 
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2011-05-13 12:48:36 -0700 | 
| commit | 5b03ad6473167bdb02c5ad4d88b1460f4ecc5e6a (patch) | |
| tree | 22d23537ab027ac97cd323a9dc90debb5265d6eb | |
| parent | 853d8121aff4f56452c8d9950bae143297547c5b (diff) | |
| download | uhd-5b03ad6473167bdb02c5ad4d88b1460f4ecc5e6a.tar.gz uhd-5b03ad6473167bdb02c5ad4d88b1460f4ecc5e6a.tar.bz2 uhd-5b03ad6473167bdb02c5ad4d88b1460f4ecc5e6a.zip  | |
uhd: init log file lock ptr to null
| -rw-r--r-- | host/lib/utils/log.cpp | 4 | 
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;  | 
