mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 23:51:56 +00:00
Fix unitialized variable in AuxVector::GetEntryName() which crashed in AuxVector::DumpToLog
llvm-svn: 184023
This commit is contained in:
parent
a6423eb8be
commit
ff5b497c1f
@ -124,7 +124,7 @@ AuxVector::DumpToLog(Log *log) const
|
||||
const char *
|
||||
AuxVector::GetEntryName(EntryType type)
|
||||
{
|
||||
const char *name;
|
||||
const char *name = "AT_???";
|
||||
|
||||
#define ENTRY_NAME(_type) _type: name = #_type
|
||||
switch (type)
|
||||
|
Loading…
Reference in New Issue
Block a user