X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvconn-tcp.c;h=1161713857c13eed63b07bf7dc297e67bf03185c;hb=7778bd15dacc1e410b60ff6ec2996c475a875e6e;hp=a91b7d38188887235da2d61f4d5d62bdeede3490;hpb=d7cca8671055c79b1938de9731fb53ae6c32dc87;p=openvswitch diff --git a/lib/vconn-tcp.c b/lib/vconn-tcp.c index a91b7d38..11617138 100644 --- a/lib/vconn-tcp.c +++ b/lib/vconn-tcp.c @@ -72,7 +72,7 @@ new_tcp_vconn(const char *name, int fd, int connect_status, static int tcp_open(const char *name, char *suffix, struct vconn **vconnp) { - char *save_ptr; + char *save_ptr = NULL; const char *host_name; const char *port_string; struct sockaddr_in sin;