[lldb-dev] BreakpointResolverFileRegex::SearchCallback Warning
Michael Sartain
mikesart at gmail.com
Fri Oct 4 08:29:36 PDT 2013
Getting unused variable warning:
/home/mikesart/data/src/llvm.hg/llvm/tools/lldb/source/Breakpoint/BreakpointResolverFileRegex.cpp:58:10:
warning: unused variable 'log' [-Wunused-variable]
Log *log(lldb_private::GetLogIfAllCategoriesSet
(LIBLLDB_LOG_BREAKPOINTS));
^
in SearchCallback:
44 Searcher::CallbackReturn
45 BreakpointResolverFileRegex::SearchCallback
46 (
47 SearchFilter &filter,
48 SymbolContext &context,
49 Address *addr,
50 bool containing
51 )
Did someone mean to log something there, or should I remove it?
Thanks.
-Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131004/51eef1ba/attachment.html>
More information about the lldb-dev
mailing list