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

Issue 11606043: code review 11606043: cmd/gc, cmd/ld: fix build: remove unused var, use corre... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by iant
Modified:
11 years, 8 months ago
Reviewers:
dave, ality, dvyukov, khr1
CC:
golang-dev, khr1, rsc
Visibility:
Public.

Description

cmd/gc, cmd/ld: fix build: remove unused var, use correct var in printf Fixes issue 5924.

Patch Set 1 #

Patch Set 2 : diff -r ea5c70726372 https://go.googlecode.com/hg/ #

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

Messages

Total messages: 9
iant
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 8 months ago (2013-07-19 20:25:34 UTC) #1
khr1
LGTM On Fri, Jul 19, 2013 at 1:25 PM, <iant@golang.org> wrote: > Reviewers: golang-dev1, > ...
11 years, 8 months ago (2013-07-19 20:29:40 UTC) #2
rsc
I apologize for using gcc on Mac, from which Apple has removed all the useful ...
11 years, 8 months ago (2013-07-19 20:45:45 UTC) #3
iant
*** Submitted as https://code.google.com/p/go/source/detail?r=fe3232662436 *** cmd/gc, cmd/ld: fix build: remove unused var, use correct var ...
11 years, 8 months ago (2013-07-19 22:04:56 UTC) #4
rsc
You can build Go with clang by running CC=clang all.bash Unfortunately, clang appears not to ...
11 years, 8 months ago (2013-07-19 22:47:36 UTC) #5
dave_cheney.net
I use this small change to cmd/dist to enable the warning https://codereview.appspot.com/8090044/ I have had ...
11 years, 8 months ago (2013-07-19 22:58:49 UTC) #6
dvyukov
If clang produces not enough warnings for your taste, try --analyze -fsanitize=undefined: src/lib9/flag.c:268:7: warning: Access ...
11 years, 8 months ago (2013-07-20 12:34:50 UTC) #7
dave_cheney.net
Related: https://code.google.com/p/go/issues/detail?id=5764 On Sat, Jul 20, 2013 at 10:34 PM, Dmitry Vyukov <dvyukov@google.com> wrote: > ...
11 years, 8 months ago (2013-07-20 12:37:43 UTC) #8
ality
11 years, 8 months ago (2013-07-20 14:32:26 UTC) #9
Dmitry Vyukov <dvyukov@google.com> once said:
> If clang produces not enough warnings for your taste, try --analyze
> -fsanitize=undefined:
>
> [snip]

I looked at a dozen of these and they were all false positives.
Is there any way to dial it down? Or was this sarcasm? ☺

  Anthony
Sign in to reply to this message.

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