Fix a warning

llvm-svn: 23550
This commit is contained in:
Chris Lattner 2005-09-30 06:09:50 +00:00
parent 1916ef75cf
commit 26f5fb1277
1 changed files with 1 additions and 1 deletions

View File

@ -1518,7 +1518,7 @@ case 69:
#line 543 "/Users/sabre/llvm/utils/TableGen/FileParser.y"
{
// If a class of this name already exists, it must be a forward ref.
if (CurRec = Records.getClass(*yyvsp[0].StrVal)) {
if ((CurRec = Records.getClass(*yyvsp[0].StrVal))) {
// If the body was previously defined, this is an error.
if (!CurRec->getValues().empty() ||
!CurRec->getSuperClasses().empty() ||