crash-reporter: Remove unused constants reported by clang.
BUG=chromium:309859
TEST=`FEATURES=test USE=clang emerge-lumpy crash-reporter`
Change-Id: Ie6f78ad420322f44ce0c108cb23de299981f60a4
Reviewed-on: https://chromium-review.googlesource.com/173937
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Yunlian Jiang <yunlian@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
diff --git a/crash_reporter/crash_collector_test.cc b/crash_reporter/crash_collector_test.cc
index 64a8653..661241e 100644
--- a/crash_reporter/crash_collector_test.cc
+++ b/crash_reporter/crash_collector_test.cc
@@ -18,12 +18,6 @@
#include "gflags/gflags.h"
#include "gtest/gtest.h"
-// This test assumes the following standard binaries are installed.
-static const char kBinBash[] = "/bin/bash";
-static const char kBinCp[] = "/bin/cp";
-static const char kBinEcho[] = "/bin/echo";
-static const char kBinFalse[] = "/bin/false";
-
using base::FilePath;
using chromeos::FindLog;
using ::testing::Return;
diff --git a/crash_reporter/crash_reporter.cc b/crash_reporter/crash_reporter.cc
index 134e8e4..f70e3b9 100644
--- a/crash_reporter/crash_reporter.cc
+++ b/crash_reporter/crash_reporter.cc
@@ -44,8 +44,6 @@
static const char kCrashCounterHistogram[] = "Logging.CrashCounter";
static const char kUserCrashSignal[] =
"org.chromium.CrashReporter.UserCrash";
-static const char kUncleanShutdownFile[] =
- "/var/lib/crash_reporter/pending_clean_shutdown";
static const char kKernelCrashDetected[] = "/var/run/kernel-crash-detected";
static const char kUncleanShutdownDetected[] =
"/var/run/unclean-shutdown-detected";