[llvm] r230854 - Silence variable set but not used warning in CodeGenRegisters.cpp, NFC.

Yaron Keren yaron.keren at gmail.com
Sat Feb 28 07:54:04 PST 2015


Author: yrnkrn
Date: Sat Feb 28 09:54:04 2015
New Revision: 230854

URL: http://llvm.org/viewvc/llvm-project?rev=230854&view=rev
Log:
Silence variable set but not used warning in CodeGenRegisters.cpp, NFC.


Modified:
    llvm/trunk/utils/TableGen/CodeGenRegisters.cpp

Modified: llvm/trunk/utils/TableGen/CodeGenRegisters.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenRegisters.cpp?rev=230854&r1=230853&r2=230854&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenRegisters.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenRegisters.cpp Sat Feb 28 09:54:04 2015
@@ -1783,6 +1783,7 @@ void CodeGenRegBank::computeRegUnitLaneM
           }
           ++u;
         }
+        (void)Found;
         assert(Found);
       }
     }





More information about the llvm-commits mailing list