From 628a39faa3d71dce76842ef031ae4244fde18bb4 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 6 Jun 2012 18:25:08 +0000 Subject: Remove unused private fields found by clang's new -Wunused-private-field. There are some that I didn't remove this round because they looked like obvious stubs. There are dead variables in gtest too, they should be fixed upstream. llvm-svn: 158090 --- llvm/tools/llvm-diff/llvm-diff.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/tools/llvm-diff/llvm-diff.cpp') diff --git a/llvm/tools/llvm-diff/llvm-diff.cpp b/llvm/tools/llvm-diff/llvm-diff.cpp index 774169bcde1..45957b3f8c9 100644 --- a/llvm/tools/llvm-diff/llvm-diff.cpp +++ b/llvm/tools/llvm-diff/llvm-diff.cpp @@ -78,8 +78,8 @@ int main(int argc, char **argv) { Module *RModule = ReadModule(Context, RightFilename); if (!LModule || !RModule) return 1; - DiffConsumer Consumer(LModule, RModule); - DifferenceEngine Engine(Context, Consumer); + DiffConsumer Consumer; + DifferenceEngine Engine(Consumer); // If any global names were given, just diff those. if (!GlobalsToCompare.empty()) { -- cgit v1.2.3