aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-07 20:50:09 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-07 20:50:09 +0000
commit482cccd37e71ad69845d954b548bd46c2ee15155 (patch)
treed263558d3b0470247bc9163f6e9f6b68ecf77563 /tools
parent2724915c171b08fa9f7f9e54a46ea81708d9c5b2 (diff)
downloadexternal_llvm-482cccd37e71ad69845d954b548bd46c2ee15155.zip
external_llvm-482cccd37e71ad69845d954b548bd46c2ee15155.tar.gz
external_llvm-482cccd37e71ad69845d954b548bd46c2ee15155.tar.bz2
MSVC warning fixes; patch by Stein Roger!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint/bugpoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/bugpoint.cpp b/tools/bugpoint/bugpoint.cpp
index 573a406..d00036a 100644
--- a/tools/bugpoint/bugpoint.cpp
+++ b/tools/bugpoint/bugpoint.cpp
@@ -129,7 +129,7 @@ int main(int argc, char **argv) {
errs() << "Tool execution error: " << TEE.what() << '\n';
} catch (const std::string& msg) {
errs() << argv[0] << ": " << msg << "\n";
- } catch (const std::bad_alloc &e) {
+ } catch (const std::bad_alloc&) {
errs() << "Oh no, a bugpoint process ran out of memory!\n"
"To increase the allocation limits for bugpoint child\n"
"processes, use the -mlimit option.\n";