Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Levin Zimmermann
go-fuse
Commits
90cb7766
Commit
90cb7766
authored
Dec 14, 2011
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove superfluous nil check.
parent
e9fdcab9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fuse/syscall.go
fuse/syscall.go
+1
-1
No files found.
fuse/syscall.go
View file @
90cb7766
...
@@ -20,7 +20,7 @@ func Writev(fd int, packet [][]byte) (n int, err error) {
...
@@ -20,7 +20,7 @@ func Writev(fd int, packet [][]byte) (n int, err error) {
iovecs
:=
make
([]
syscall
.
Iovec
,
0
,
len
(
packet
))
iovecs
:=
make
([]
syscall
.
Iovec
,
0
,
len
(
packet
))
for
_
,
v
:=
range
packet
{
for
_
,
v
:=
range
packet
{
if
v
==
nil
||
len
(
v
)
==
0
{
if
len
(
v
)
==
0
{
continue
continue
}
}
vec
:=
syscall
.
Iovec
{
vec
:=
syscall
.
Iovec
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment