small cleanups
- Revert 'cannot' --> 'can not' (it's the exception!) - Remove duplicate function - Squelch compiler warnings Closes: #248 Approved by: cgwalters
This commit is contained in:
1 parent
ddda8e5b8b
commit
41661e47e1
5 files changed
+8
-54
No files matched your search
@@ -491,7 +491,7 @@ try_metalink_targets (OstreeMetalinkRequest *self,
|
||||
GError **error)
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
SoupURI *target_uri;
|
||||
SoupURI *target_uri = NULL;
|
||||
|
||||
if (!self->found_a_file_element)
|
||||
{
|
||||
@@ -564,7 +564,7 @@ try_metalink_targets (OstreeMetalinkRequest *self,
|
||||
self->urls->len, self->last_metalink_error);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
||||
ret = TRUE;
|
||||
if (out_target_uri)
|
||||
*out_target_uri = soup_uri_copy (target_uri);
|
||||
|
||||
Reference in new issue
Block a user