[Libosinfo] [libosinfo PATCH] tests: get the curl response code every time
Daniel P. Berrange
berrange at redhat.com
Wed Nov 1 14:22:53 UTC 2017
On Wed, Nov 01, 2017 at 01:37:52PM +0000, Daniel P. Berrange wrote:
> 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>
Turns out test-treeuris.c has the same bug, so I've pushed a followup doing
the exact same fix there too
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