diff options
author | Patrik Hägglund <patrik.h.hagglund@ericsson.com> | 2012-11-28 14:32:52 +0000 |
---|---|---|
committer | Patrik Hägglund <patrik.h.hagglund@ericsson.com> | 2012-11-28 14:32:52 +0000 |
commit | dacb9a51bddbad9535c1b9339532827e73013388 (patch) | |
tree | 9753604ea5928f9d10f821acc71e9bc05dce2f2a /lib/VMCore | |
parent | 37d5be777c81393c54cae8b26241ebaca2ed9e27 (diff) | |
download | external_llvm-dacb9a51bddbad9535c1b9339532827e73013388.zip external_llvm-dacb9a51bddbad9535c1b9339532827e73013388.tar.gz external_llvm-dacb9a51bddbad9535c1b9339532827e73013388.tar.bz2 |
Fix warning. [-Wunused-variable]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/DataLayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/DataLayout.cpp b/lib/VMCore/DataLayout.cpp index 540f4de..b39aa27 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; } |