From: Devang Patel Date: Thu, 9 Apr 2009 23:45:17 +0000 (+0000) Subject: Silence unused variable warning. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=923838533a005154c3a30271aa3186a633102a9c;p=oota-llvm.git Silence unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68735 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index e2d85f01b16..8467330bb9b 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -372,7 +372,7 @@ bool FastISel::SelectCall(User *I) { // Record the source line. unsigned Line = Subprogram.getLineNumber(); - unsigned LabelID = DW->RecordSourceLine(Line, 0, SrcFile); + DW->RecordSourceLine(Line, 0, SrcFile); setCurDebugLoc(DebugLoc::get(MF.getOrCreateDebugLocID(SrcFile, Line, 0))); // llvm.dbg.func_start also defines beginning of function scope.