summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-remote.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2014-01-18 04:53:16 -0500
committerColin Walters <walters@verbum.org>2014-01-18 04:53:16 -0500
commit4fff43da1bb4644b0f1420ab6db408fe4d3e7a34 (patch)
tree6e554561276673e86632bca34c35030ecd0ae657 /src/ostree/ot-builtin-remote.c
parentd0d98d3abeb596523093ccecabe4038c2c150cdc (diff)
downloadostree-4fff43da1bb4644b0f1420ab6db408fe4d3e7a34.tar.gz
Squash some harmless compiler warnings
None of these AFAICS actually can occur, but let's silence gcc.
Diffstat (limited to 'src/ostree/ot-builtin-remote.c')
-rw-r--r--src/ostree/ot-builtin-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-builtin-remote.c b/src/ostree/ot-builtin-remote.c
index 7db9edc5..de6dcba8 100644
--- a/src/ostree/ot-builtin-remote.c
+++ b/src/ostree/ot-builtin-remote.c
@@ -134,7 +134,7 @@ ostree_builtin_remote (int argc, char **argv, OstreeRepo *repo, GCancellable *ca
}
else if (!strcmp (op, "show-url"))
{
- gs_free char *url;
+ gs_free char *url = NULL;
url = g_key_file_get_string (config, key, "url", error);
if (url == NULL)