mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-12 01:18:53 +00:00
Fix 'not all control paths return a value' warning on MSVC builds
llvm-svn: 317790
This commit is contained in:
parent
17307d9d33
commit
89d31658e5
@ -59,6 +59,7 @@ uint8_t *SectionMemoryManager::allocateSection(
|
||||
case AllocationPurpose::RWData:
|
||||
return RWDataMem;
|
||||
}
|
||||
llvm_unreachable("Unknown SectionMemoryManager::AllocationPurpose");
|
||||
}();
|
||||
|
||||
// Look in the list of free memory regions and use a block there if one
|
||||
|
Loading…
Reference in New Issue
Block a user