diff --git a/src/ot-builtin-log.c b/src/ot-builtin-log.c index a53d14b0..c6d725b1 100644 --- a/src/ot-builtin-log.c +++ b/src/ot-builtin-log.c @@ -42,7 +42,7 @@ ostree_builtin_log (int argc, char **argv, const char *prefix, GError **error) GOutputStream *pager = NULL; const char *rev; GVariant *commit = NULL; - char *resolved_rev; + char *resolved_rev = NULL; context = g_option_context_new ("- Show revision log"); g_option_context_add_main_entries (context, options, NULL);