[PATCH] remote_driver: Work around broken clang
Peter Krempa
pkrempa at redhat.com
Thu Feb 9 08:32:22 UTC 2023
On Thu, Feb 09, 2023 at 09:19:13 +0100, Michal Privoznik wrote:
> In recent commit of v9.0.0-191-gc71c159248 I've introduced
> remoteConnectFormatURI() function and in the function @query
> variable. Even though, the variable is used, clang-13 fails to
> see it. Surprisingly, never clang is not affected. Fortunately,
s/never/newer/ ?
> swapping the order in which variables are set makes clang happy
> again.
weird
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/remote/remote_driver.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Peter Krempa <pkrempa at redhat.com>
More information about the libvir-list
mailing list