From 02efa786d40fabae6dbbb3de5ab057359701e337 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Mon, 27 Jul 2009 23:14:11 +0000 Subject: Avoid build warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77271 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SimpleRegisterCoalescing.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/CodeGen/SimpleRegisterCoalescing.cpp') diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp index 72ed22b06c..7aa9cf543f 100644 --- a/lib/CodeGen/SimpleRegisterCoalescing.cpp +++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp @@ -1308,6 +1308,7 @@ bool SimpleRegisterCoalescing::JoinCopy(CopyRec &TheCopy, bool &Again) { DEBUG(errs() << "\tIncompatible source regclass: " << tri_->getName(DstSubReg) << " not in " << SrcSubRC->getName() << ".\n"); + (void)DstSubReg; return false; // Not coalescable. } } -- cgit v1.2.3