Clean-up: uri_parse_str_urls: assert on invalid uri_parse() return values
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 26 Feb 2021 18:58:16 +0000 (13:58 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 4 Mar 2021 16:59:19 +0000 (11:59 -0500)
commit05932fe8da075311149e8b2608a70fc0e3be3187
tree96c1e85167b98ef75cbc0bc2482edfd20f02efb7
parent97abbc84fe032ca8d7cce7b8e64200981ffa6966
Clean-up: uri_parse_str_urls: assert on invalid uri_parse() return values

uri_parse() can only ever return values [-1, 2] and callers only handle
those values. This causes Coverity to report possible leaks and other
errors when analyzing callers.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ida29691420228f0425cc908641bcd85208d66236
src/common/uri.c
This page took 0.026244 seconds and 5 git commands to generate.