memset(&jcr, 0, sizeof(jcr));
-
- WSA_Init(); /* Initialize Windows sockets */
+ (void)WSA_Init(); /* Initialize Windows sockets */
if (ndir > 1) {
struct sockaddr_in client_addr;
}
UnlockRes();
if (get_cmd(stdin, _("Select Director: "), UA_sock, 600) < 0) {
- WSACleanup(); /* Cleanup Windows sockets */
- return 1;
+ (void)WSACleanup(); /* Cleanup Windows sockets */
+ return 1;
}
item = atoi(UA_sock->msg);
if (item < 0 || item > ndir) {
/* Cleanup and then exit */
static void terminate_console(int sig)
{
- WSACleanup(); /* Cleanup Windows sockets */
static bool already_here = false;
already_here = true;
free_pool_memory(args);
con_term();
+ (void)WSACleanup(); /* Cleanup Windows sockets */
if (sig != 0) {
exit(1);
}