mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
Silence a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43954 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7a42f24f0c
commit
b623ce9128
@ -211,7 +211,7 @@ void TargetData::init(const std::string &TargetDescription) {
|
|||||||
case 'f':
|
case 'f':
|
||||||
case 'a':
|
case 'a':
|
||||||
case 's': {
|
case 's': {
|
||||||
AlignTypeEnum align_type;
|
AlignTypeEnum align_type = STACK_ALIGN; // Dummy init, silence warning
|
||||||
switch(*p) {
|
switch(*p) {
|
||||||
case 'i': align_type = INTEGER_ALIGN; break;
|
case 'i': align_type = INTEGER_ALIGN; break;
|
||||||
case 'v': align_type = VECTOR_ALIGN; break;
|
case 'v': align_type = VECTOR_ALIGN; break;
|
||||||
|
Loading…
Reference in New Issue
Block a user