Changeset 5419:655954f5b684 in roaraudio


Ignore:
Timestamp:
02/20/12 23:03:54 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

fixed some compiler warnings

Location:
libroar
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libroar/socket.c

    r5394 r5419  
    540540 socklen_t addrlen; 
    541541#endif 
    542 #if defined(ROAR_HAVE_IPV4) || defined(ROAR_HAVE_IPV6) 
     542#if (defined(ROAR_HAVE_IPV4) || defined(ROAR_HAVE_IPV6)) && !defined(ROAR_HAVE_GETADDRINFO) 
    543543 struct hostent     * he = NULL; 
    544544#endif 
  • libroar/vio_proxy.c

    r5381 r5419  
    183183    init = init_socks4; 
    184184   break; 
     185#ifndef DEBUG 
     186  default: 
     187   break; 
     188#endif 
    185189 } 
    186190 
  • libroar/vio_stream.c

    r5408 r5419  
    162162 int fh = -1, listen = -1; 
    163163 static int count = 0; 
    164  int    type = ROAR_SOCKET_TYPE_UNIX; 
    165164 int    port = 0; 
    166165#if defined(ROAR_HAVE_IPV4) || defined(ROAR_HAVE_LIBDNET) 
Note: See TracChangeset for help on using the changeset viewer.