Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8032dd0c authored by Darin Petkov's avatar Darin Petkov
Browse files

metrics: Fixed compile-time warnings due to unused variables.

BUG=chromium-os:15040
TEST=built with gcc-4.6

Change-Id: Idf95c986e1eda79be735eeb4ff7c79e9a7eede60
Reviewed-on: http://gerrit.chromium.org/gerrit/569


Tested-by: default avatarDarin Petkov <petkov@chromium.org>
Reviewed-by: default avatarChris Sosa <sosa@chromium.org>
parent 29c7ef9e
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

@@ -92,7 +92,6 @@ int main(int argc, char** argv) {
  bool send_to_chrome = true;
  bool send_enum = false;
  bool secs_to_msecs = false;
  bool print_usage = false;

  // Parse arguments
  int flag;
@@ -124,7 +123,7 @@ int main(int argc, char** argv) {
        mode = kModeSendUserAction;
        break;
      default:
        print_usage = true;
        ShowUsage();
        break;
    }
  }
+1 −2
Original line number Diff line number Diff line
// Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
// Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

@@ -296,7 +296,6 @@ DBusHandlerResult MetricsDaemon::MessageFilter(DBusConnection* connection,
                                               DBusMessage* message,
                                               void* user_data) {
  Time now = Time::Now();
  TimeTicks ticks = TimeTicks::Now();
  DLOG(INFO) << "message intercepted @ " << now.ToInternalValue();

  int message_type = dbus_message_get_type(message);