forked from OSchip/llvm-project
Source: fix another -Wunused-variable warning
Conditionalise a variable definition which may be unused in certain compilations due to the preprocessor. Protect the variable accordingly. NFC. llvm-svn: 267247
This commit is contained in:
parent
4a46539c24
commit
6010f97ee6
|
@ -2388,7 +2388,9 @@ lldb::SBValue
|
|||
SBTarget::EvaluateExpression (const char *expr, const SBExpressionOptions &options)
|
||||
{
|
||||
Log *log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
|
||||
#if !defined(LLDB_DISABLE_PYTHON)
|
||||
Log * expr_log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_EXPRESSIONS));
|
||||
#endif
|
||||
SBValue expr_result;
|
||||
ExpressionResults exe_results = eExpressionSetupError;
|
||||
ValueObjectSP expr_value_sp;
|
||||
|
|
Loading…
Reference in New Issue