From dacb9a51bddbad9535c1b9339532827e73013388 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Patrik=20H=C3=A4gglund?= Date: Wed, 28 Nov 2012 14:32:52 +0000 Subject: [PATCH] Fix warning. [-Wunused-variable] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168792 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/DataLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/DataLayout.cpp b/lib/VMCore/DataLayout.cpp index 540f4de2f61..b39aa271f3a 100644 --- a/lib/VMCore/DataLayout.cpp +++ b/lib/VMCore/DataLayout.cpp @@ -184,7 +184,7 @@ static unsigned getInt(StringRef R) { if (R.empty()) return 0; unsigned Result; - bool error = R.getAsInteger(10, Result); + bool error = R.getAsInteger(10, Result); (void)error; assert(!error && "not a number, or does not fit in an unsigned int"); return Result; } -- 2.34.1