On Tue, Mar 17, 2026 at 12:50:56PM +0400, Marc-André Lureau wrote:
> Replace defensive NULL guards with assert() in vnc_display_close()
> and vnc_display_open(). These are internal functions whose callers
> guarantee non-NULL arguments, so a NULL value would indicate a
> programming error rather than a runtime condition.
> 
> Signed-off-by: Marc-André Lureau <[email protected]>
> ---
>  ui/vnc.c | 15 ++++-----------
>  1 file changed, 4 insertions(+), 11 deletions(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>

With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|


Reply via email to