summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2020-10-24 22:18:28 -0400
committerBrian Potchik <brian@vector35.com>2020-10-24 22:18:28 -0400
commit905382cc267cc1d0ee5e3c6e122819b869f46701 (patch)
tree1c8b911942d53c4c0a149f5a188874b7c158501e /binaryview.cpp
parent798ff5b7e7b2de73d70017ddb0fc5e52150d9584 (diff)
PossibleValueSet dialog pulls existing values and miscellaneous cleanup.
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryview.cpp b/binaryview.cpp
index d355246d..2d6ecb4e 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -2454,7 +2454,7 @@ uint64_t BinaryView::GetPreviousDataVariableStartBeforeAddress(uint64_t addr)
bool BinaryView::ParsePossibleValueSet(const string& value, BNRegisterValueType state, PossibleValueSet& result, uint64_t here, string& errors)
{
BNPossibleValueSet res;
- char* errorStr;
+ char* errorStr = nullptr;
if (!BNParsePossibleValueSet(m_object, value.c_str(), state, &res, here, &errorStr))
{