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

Issue 608002: Fix a clang warning (Closed)

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

Description

Fix a clang warning:

../../breakpad/src/processor/tokenize.cc:65:7: error: logical not is only
applied to the left hand side of this comparison
[-Werror,-Wlogical-not-parentheses]
  if (!remaining > 0) {
      ^          ~
../../breakpad/src/processor/tokenize.cc:65:7: note: add parentheses after the
'!' to evaluate the comparison first
  if (!remaining > 0) {
      ^
       (            )
../../breakpad/src/processor/tokenize.cc:65:7: note: add parentheses around left
hand side expression to silence this warning
  if (!remaining > 0) {
      ^
      (         )

R=thakis@chromium.org

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

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/processor/tokenize.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 6
Mark Mentovai
The old logic did the right thing by accident. The important thing here is that ...
11 years, 2 months ago #1
thakis
lgtm This is exactly how my local fix for this looks too. Thanks!
11 years, 2 months ago #2
Mark Mentovai
Wish you mentioned something about your local fix sooner! The note you left at https://breakpad.appspot.com/36001/#msg15 ...
11 years, 2 months ago #3
thakis
Yup, I took a real look at this today, but you sent me your change ...
11 years, 2 months ago #4
thakis
*before I could send you min On Fri, Jun 28, 2013 at 2:55 PM, Nico ...
11 years, 2 months ago #5
thakis
11 years, 2 months ago #6
e


On Fri, Jun 28, 2013 at 2:55 PM, Nico Weber <thakis@chromium.org> wrote:

> *before I could send you min
>
>
> On Fri, Jun 28, 2013 at 2:55 PM, Nico Weber <thakis@chromium.org> wrote:
>
>> Yup, I took a real look at this today, but you sent me your change before
>> you could send me yours.
>>
>>
>> On Fri, Jun 28, 2013 at 1:45 PM, <mark@chromium.org> wrote:
>>
>>> Wish you mentioned something about your local fix sooner! The note you
>>> left at
https://breakpad.appspot.com/**36001/#msg15<https://breakpad.appspot.com/3600...
something
>>> different…
>>>
>>>
https://breakpad.appspot.com/**608002/<https://breakpad.appspot.com/608002/>
>>>
>>
>>
>
Sign in to reply to this message.

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