[PATCH 6/8] nss: aiforaf: Drop unused buffer 'port'

Kristina Hanicova khanicov at redhat.com
Wed Aug 30 12:32:33 UTC 2023


On Wed, Aug 30, 2023 at 1:59 PM Peter Krempa <pkrempa at redhat.com> wrote:

> The 'port' buffer is passed to 'getnameinfo' which is supposed to fill
> it but it's not actually later used. Drop the buffer as 'getnameinfo'
> allows NULL arguments if they are not needed.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  tools/nss/libvirt_nss.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)


Reviewed-by: Kristina Hanicova <khanicov at redhat.com>

Kristina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230830/eb1c7c0e/attachment.htm>


More information about the libvir-list mailing list