Skip to content

Commit f892ec2

Browse files
author
Edward Thomson
committed
socket: mark flags as unused
1 parent bf2f44d commit f892ec2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libgit2/streams/socket.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ static ssize_t socket_write(git_stream *stream, const char *data, size_t len, in
135135
git_socket_stream *st = (git_socket_stream *) stream;
136136
ssize_t written;
137137

138-
assert(flags == 0);
138+
GIT_ASSERT(flags == 0);
139+
GIT_UNUSED(flags);
139140

140141
errno = 0;
141142

0 commit comments

Comments
 (0)