Another -Werror Error

Can someone fix this too?

[sta-opt] : [llvm] /ptmp/dag/llvm/staging/llvm/tools/clang/lib/Sema/../../include/clang/Basic/PartialDiagnostic.h: In member function 'bool clang::Sema::DiagnoseAssignmentResult(clang::Sema::AssignConvertType, clang::SourceLocation, clang::QualType, clang::QualType, clang::Expr*, clang::Sema::AssignmentAction, bool*)':
[sta-opt] : [llvm] /ptmp/dag/llvm/staging/llvm/tools/clang/lib/Sema/../../include/clang/Basic/PartialDiagnostic.h:173:59: error: 'DiagKind' may be used uninitialized in this function [-Werror=uninitialized]
[sta-opt] : [llvm] /ptmp/dag/llvm/staging/llvm/tools/clang/lib/Sema/SemaExpr.cpp:8984:12: note: 'DiagKind' was declared here
[sta-opt] : [llvm] cc1plus: all warnings being treated as errors

Thanks!

                                     -Dave

Both issues fixed in r151754.

-Eli

Eli Friedman <eli.friedman@gmail.com> writes:

Both issues fixed in r151754.

Thanks Eli!

                            -Dave