[Libosinfo] [libosinfo PATCH] tests: get the curl response code every time

Daniel P. Berrange berrange at redhat.com
Wed Nov 1 13:37:52 UTC 2017


On Wed, Nov 01, 2017 at 02:35:16PM +0100, Pavel Hrdina wrote:
> This failed on FreeBSD with following error:
> 
> ../../tests/test-mediauris.c:47:13: error: variable 'response_code' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
> 
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  tests/test-mediauris.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Reviewed-by: Daniel P. Berrange <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the Libosinfo mailing list