diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2007-11-09 19:06:14 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2007-11-09 19:06:14 +0000 |
commit | b623ce9128312e279b12cefeea5e76f327a17609 (patch) | |
tree | 732970715ebf907222d44153e59687215334fc5a /lib/Target/TargetData.cpp | |
parent | 7a42f24f0c4171d6df94aca8db9cab567e79cf18 (diff) |
Silence a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43954 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetData.cpp')
-rw-r--r-- | lib/Target/TargetData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetData.cpp b/lib/Target/TargetData.cpp index 5a189205ed..8c466543fa 100644 --- a/lib/Target/TargetData.cpp +++ b/lib/Target/TargetData.cpp @@ -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; |