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

Issue 11022043: code review 11022043: cmd/ld: trivial: fix unhandled switch case (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 12 months ago by dave
Modified:
11 years, 12 months ago
Reviewers:
minux1, r
CC:
rsc, r, golang-dev
Visibility:
Public.

Description

cmd/ld: trivial: fix unhandled switch case Fix warning found by clang 3.3.

Patch Set 1 #

Patch Set 2 : diff -r 02b673333fab https://code.google.com/p/go #

Patch Set 3 : diff -r 02b673333fab https://code.google.com/p/go #

Patch Set 4 : diff -r 02b673333fab https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M src/cmd/ld/lib.c View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10
dave_cheney.net
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 12 months ago (2013-07-09 01:47:22 UTC) #1
r
LGTM not really
11 years, 12 months ago (2013-07-09 01:59:42 UTC) #2
dave_cheney.net
I can add a default: break; if that is better On Tue, Jul 9, 2013 ...
11 years, 12 months ago (2013-07-09 02:04:17 UTC) #3
r
it's fine as is. my complaint is about the tool, not your code.
11 years, 12 months ago (2013-07-09 02:07:12 UTC) #4
dave_cheney.net
Thanks r. On Tue, Jul 9, 2013 at 12:06 PM, Rob Pike <r@golang.org> wrote: > ...
11 years, 12 months ago (2013-07-09 02:07:35 UTC) #5
dave_cheney.net
*** Submitted as https://code.google.com/p/go/source/detail?r=000ecca1178d *** cmd/ld: trivial: fix unhandled switch case Fix warning found by ...
11 years, 12 months ago (2013-07-09 02:16:29 UTC) #6
minux1
i wonder if we need -marm for arm.
11 years, 12 months ago (2013-07-09 05:48:09 UTC) #7
dave_cheney.net
It doesn't seem to be required, this change is effectively a NOOP on arm, but ...
11 years, 12 months ago (2013-07-09 05:50:19 UTC) #8
minux1
On Tue, Jul 9, 2013 at 1:50 PM, Dave Cheney <dave@cheney.net> wrote: > It doesn't ...
11 years, 12 months ago (2013-07-10 18:22:58 UTC) #9
dave_cheney.net
11 years, 12 months ago (2013-07-10 23:20:58 UTC) #10
SGTM. Thank you.

On Thu, Jul 11, 2013 at 4:22 AM, minux <minux.ma@gmail.com> wrote:
>
> On Tue, Jul 9, 2013 at 1:50 PM, Dave Cheney <dave@cheney.net> wrote:
>>
>> It doesn't seem to be required, this change is effectively a NOOP on
>> arm, but I don't think it would hurt to overspecify -marm, and it
>> would be consistent with cmd/go. Feel like submitting a change ?
>
> i don't feel strong about that, i suggest we leave this to the people
> implementing
> external linking for arm (there was already a CL for that).
>>
>>
>> On Tue, Jul 9, 2013 at 3:48 PM, minux <minux.ma@gmail.com> wrote:
>> > i wonder if we need -marm for arm.
>
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b