Skip to content

Commit

Permalink
Fix a c90 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathewson committed Jan 21, 2014
1 parent d240328 commit c207682
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/regress.c
Original file line number Diff line number Diff line change
Expand Up @@ -1938,9 +1938,10 @@ re_add_read_cb(evutil_socket_t fd, short event, void *arg)
{
char buf[256];
struct event *ev_other = arg;
readd_test_event_last_added = ev_other;
ev_ssize_t n_read;

readd_test_event_last_added = ev_other;

n_read = read(fd, buf, sizeof(buf));

if (n_read < 0) {
Expand Down

0 comments on commit c207682

Please sign in to comment.