projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a42f24
)
Silence a warning
author
Anton Korobeynikov
<asl@math.spbu.ru>
Fri, 9 Nov 2007 19:06:14 +0000
(19:06 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Fri, 9 Nov 2007 19:06:14 +0000
(19:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43954
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/TargetData.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/TargetData.cpp
b/lib/Target/TargetData.cpp
index 5a189205ed9348af44a6cb09fa37334042b32c8e..8c466543facc3f5784e427262029386ece423970 100644
(file)
--- 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;