File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ int consumer_connect(int port) {
73
73
struct sockaddr_in consumer_addr ;
74
74
struct sockaddr_in producer_addr ;
75
75
int producer_addr_len ;
76
- int ret = -1 ;
77
76
78
77
#ifdef _WIN32
79
78
// initialize Winsock
@@ -141,7 +140,7 @@ int consumer_connect(int port) {
141
140
WSACleanup ();
142
141
#endif
143
142
144
- return ret ;
143
+ return -1 ;
145
144
}
146
145
147
146
int run_consumer (int port , const umf_memory_pool_ops_t * pool_ops ,
@@ -350,7 +349,8 @@ int producer_connect(int port) {
350
349
#ifdef _WIN32
351
350
// initialize Winsock
352
351
if (WSAStartup (MAKEWORD (2 , 2 ), & wsaData ) != 0 ) {
353
- fprintf (stderr , "WSAStartup failed. Error Code: %d\n" , WSAGetLastError ());
352
+ fprintf (stderr , "WSAStartup failed. Error Code: %d\n" ,
353
+ WSAGetLastError ());
354
354
return -1 ;
355
355
}
356
356
#endif
You can’t perform that action at this time.
0 commit comments