Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(229)

Issue 592003: Fix a "set but not used" compiler warning in a test (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by mseaborn
Modified:
11 years, 6 months ago
Reviewers:
Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk
Visibility:
Public.

Description

Fix a "set but not used" compiler warning in a test

Add a missing assertion whose absence made the test ineffective.
Make the test a little stricter too.

BUG=none
TEST="make check" to run the test + use "-Wall -Werror"

Committed: https://code.google.com/p/google-breakpad/source/detail?r=1180

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make test stricter #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 5
mseaborn
11 years, 6 months ago #1
Mark Mentovai
LGTM. Adding this is up to you. I know you’re just trying to fix the ...
11 years, 6 months ago #2
mseaborn
https://breakpad.appspot.com/592003/diff/1/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc File src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc (right): https://breakpad.appspot.com/592003/diff/1/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc#newcode90 src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc:90: break; On 2013/05/10 19:25:36, Mark Mentovai wrote: > Perhaps ...
11 years, 6 months ago #3
Mark Mentovai
Now that’s a good test. LGTM.
11 years, 6 months ago #4
mseaborn
11 years, 6 months ago #5
Message was sent while issue was closed.
Committed patchset #2 manually as r1180 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted