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:
Anton Korobeynikov 2007-11-09 19:06:14 +00:00
parent 7a42f24f0c
commit b623ce9128

View File

@ -211,7 +211,7 @@ void TargetData::init(const std::string &TargetDescription) {
case 'f':
case 'a':
case 's': {
AlignTypeEnum align_type;
AlignTypeEnum align_type = STACK_ALIGN; // Dummy init, silence warning
switch(*p) {
case 'i': align_type = INTEGER_ALIGN; break;
case 'v': align_type = VECTOR_ALIGN; break;