diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-12-10 19:27:07 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-12-10 19:27:07 +0000 |
| commit | a72e2392e61fbbb30aa991f6bcf4539780ac1a38 (patch) | |
| tree | c5c7bfc366df62ed2f9bc0cb553588f5804882b8 | |
| parent | 7f8e26867fefa1a4c590f0d719ed81ac4091da4c (diff) | |
| download | bcm5719-llvm-a72e2392e61fbbb30aa991f6bcf4539780ac1a38.tar.gz bcm5719-llvm-a72e2392e61fbbb30aa991f6bcf4539780ac1a38.zip | |
Silence a GCC unitialized-value warning
llvm-svn: 121504
| -rw-r--r-- | clang/include/clang/Sema/DeclSpec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Sema/DeclSpec.h b/clang/include/clang/Sema/DeclSpec.h index bd419e3e69a..aab63c08634 100644 --- a/clang/include/clang/Sema/DeclSpec.h +++ b/clang/include/clang/Sema/DeclSpec.h @@ -1376,7 +1376,7 @@ public: /// (looking through parentheses). DeclaratorChunk::FunctionTypeInfo &getFunctionTypeInfo() { assert(isFunctionDeclarator() && "Not a function declarator!"); - unsigned index; + unsigned index = 0; isFunctionDeclarator(index); return DeclTypeInfo[index].Fun; } |

