qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] vnc: fix coverity warning


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] vnc: fix coverity warning
Date: Wed, 11 Feb 2015 17:48:16 +0100

> > +    assert(vs);
> >      return vnc_socket_local_addr("%s:%s", vs->lsock);
> >  }
> >  
> > 
> 
> If you want, I can just silence the warning in Coverity.

I think in the source code is better, human readers might wonder too. 

And in case the calling code ever changes behavior the assert will trap
it (even though it is highly unlikely in this specific case).

cheers,
  Gerd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]