Skip to content

Commit

Permalink
Fix [-Wmaybe-uninitialized]: please CHECK this one
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Jul 17, 2013
1 parent c2fc611 commit c8d9382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transports/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ int php_yar_socket_send(yar_transport_interface_t* self, yar_request_t *request,
fd_set rfds;
zval *payload;
struct timeval tv;
int ret, fd, retval;
int ret = -1, fd, retval;
char buf[SEND_BUF_SIZE];
yar_header_t header = {0};
yar_socket_data_t *data = (yar_socket_data_t *)self->data;
Expand Down

0 comments on commit c8d9382

Please sign in to comment.