kill some might be uninitialized warnings

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11292 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-08-28 21:04:59 +00:00
parent 176d619a93
commit ee45afa85d

View File

@@ -2531,14 +2531,14 @@ sourceroute(struct addrinfo *ai,
int *protop, int *protop,
int *optp) int *optp)
{ {
char *cp, *cp2, *lsrp, *lsrep; char *cp, *cp2, *lsrp = NULL, *lsrep = NULL;
struct addrinfo hints, *res; struct addrinfo hints, *res;
int len, error; int len, error;
struct sockaddr_in *sin; struct sockaddr_in *sin;
register char c; register char c;
static char lsr[44]; static char lsr[44];
#ifdef INET6 #ifdef INET6
struct cmsghdr *cmsg; struct cmsghdr *cmsg = NULL;
struct sockaddr_in6 *sin6; struct sockaddr_in6 *sin6;
static char rhbuf[1024]; static char rhbuf[1024];
#endif #endif