aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Penkov <ivanpe@chromium.org>2016-05-24 12:08:25 -0700
committerIvan Penkov <ivanpe@chromium.org>2016-05-24 12:08:25 -0700
commit79901bb99d5f5bdfc8ed7e422250a9d008b941a1 (patch)
tree28443344ccb14ddc9bf3101e0409530c93d2cc40 /src
parentFix stack collection with size limit (diff)
downloadbreakpad-79901bb99d5f5bdfc8ed7e422250a9d008b941a1.tar.xz
Fixing an unused-variable warning in microdump_writer.cc
BUG=https://bugs.chromium.org/p/google-breakpad/issues/detail?id=699 R=mark@chromium.org, primiano@chromium.org Review URL: https://codereview.chromium.org/2006333002 .
Diffstat (limited to 'src')
-rw-r--r--src/client/linux/microdump_writer/microdump_writer.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/linux/microdump_writer/microdump_writer.cc b/src/client/linux/microdump_writer/microdump_writer.cc
index ba10ee3a..26f7250f 100644
--- a/src/client/linux/microdump_writer/microdump_writer.cc
+++ b/src/client/linux/microdump_writer/microdump_writer.cc
@@ -504,7 +504,6 @@ class MicrodumpWriter {
if (hole_hi > hole_lo) {
size_t hole_sz = hole_hi - hole_lo;
- int log2_hole_sz = Log2Floor(hole_sz);
hole_sum += hole_sz;
hole_max = std::max(hole_sz, hole_max);
++hole_cnt;