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

Issue 6845062: code review 6845062: net: remove another unguarded sysfile == nil check (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
1 year, 5 months ago by dfc
Modified:
1 year, 5 months ago
Reviewers:
CC:
mikio, dvyukov, golang-dev
Visibility:
Public.

Description

net: remove another unguarded sysfile == nil check

Putting aside the unguarded access to fd.sysfile, the condition will never be
true as fd.incref above handles the closed condition.

Patch Set 1 #

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

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

Patch Set 4 : diff -r 1315abc581ed https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -4 lines) Patch
M src/pkg/net/fd_unix.go View 1 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 4
dfc
Hello mikioh.mikioh@gmail.com, dvyukov@google.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
1 year, 5 months ago #1
dvyukov
LGTM
1 year, 5 months ago #2
mikio
LGTM
1 year, 5 months ago #3
dfc
1 year, 5 months ago #4
*** Submitted as http://code.google.com/p/go/source/detail?r=2a55e349097f ***

net: remove another unguarded sysfile == nil check

Putting aside the unguarded access to fd.sysfile, the condition will never be
true as fd.incref above handles the closed condition.

R=mikioh.mikioh, dvyukov
CC=golang-dev
http://codereview.appspot.com/6845062
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1278:e6ce13d99bf5