Commit bfb151f4 authored by Martin Marinov's avatar Martin Marinov
Browse files

Remove an unused variable from Debug::Enter to fix an OS X warning

parent ceb33c1d
...@@ -109,7 +109,6 @@ private: ...@@ -109,7 +109,6 @@ private:
or an exit trace. or an exit trace.
*/ */
int outs_; int outs_;
int lns_; //!< Number of call stack indents including this call.
Stream strm_; //!< Stream Stream strm_; //!< Stream
}; };
......
...@@ -48,7 +48,7 @@ void error(const std::string& _err, const Base::CodeLink& _lnk) ...@@ -48,7 +48,7 @@ void error(const std::string& _err, const Base::CodeLink& _lnk)
Enter::Enter(const char* const _flnm, const char* const _fnct, Enter::Enter(const char* const _flnm, const char* const _fnct,
int& _nmbr, int& _lvl) int& _nmbr, int& _lvl)
: flnm_(_flnm), fnct_(_fnct), outs_(0), lns_(0), strm_(File::modify()) : flnm_(_flnm), fnct_(_fnct), outs_(0), strm_(File::modify())
{// TODO: for thread-safety we will need to make the constructor body atomic! {// TODO: for thread-safety we will need to make the constructor body atomic!
CallStack::modify().push(this); CallStack::modify().push(this);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment