[llvm-commits] [llvm] r43954 - /llvm/trunk/lib/Target/TargetData.cpp
Anton Korobeynikov
asl at math.spbu.ru
Fri Nov 9 11:06:14 PST 2007
Author: asl
Date: Fri Nov 9 13:06:14 2007
New Revision: 43954
URL: http://llvm.org/viewvc/llvm-project?rev=43954&view=rev
Log:
Silence a warning
Modified:
llvm/trunk/lib/Target/TargetData.cpp
Modified: llvm/trunk/lib/Target/TargetData.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetData.cpp?rev=43954&r1=43953&r2=43954&view=diff
==============================================================================
--- llvm/trunk/lib/Target/TargetData.cpp (original)
+++ llvm/trunk/lib/Target/TargetData.cpp Fri Nov 9 13:06:14 2007
@@ -211,7 +211,7 @@
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;
More information about the llvm-commits
mailing list