Message ID | 20170209135851.GC4742@redhat.com |
---|---|
State | New |
Headers | show |
> Gerd, just squash > > diff --git a/ui/vnc.c b/ui/vnc.c > index 77f2a99..bffc650 100644 > --- a/ui/vnc.c > +++ b/ui/vnc.c > @@ -3529,7 +3529,7 @@ static int vnc_display_get_address(const char *addrstr, > } else { > const char *port; > size_t hostlen; > - unsigned long long baseport; > + unsigned long long baseport = 0; > InetSocketAddress *inet; > > port = strrchr(addrstr, ':'); > > > Into this commit: > > ui: refactor code for populating SocketAddress from vnc_display_open > > Just confirmed this fixes it with a local clang build Thanks. Done, new pull on the way. > > Regards, > Daniel
diff --git a/ui/vnc.c b/ui/vnc.c index 77f2a99..bffc650 100644 --- a/ui/vnc.c +++ b/ui/vnc.c @@ -3529,7 +3529,7 @@ static int vnc_display_get_address(const char *addrstr, } else { const char *port; size_t hostlen; - unsigned long long baseport; + unsigned long long baseport = 0; InetSocketAddress *inet; port = strrchr(addrstr, ':');