log: Fix a crash

This commit is contained in:
Colin Walters 2011-11-01 12:24:34 -04:00
parent bab31db7ee
commit 8f877c5b65
1 changed files with 1 additions and 1 deletions

View File

@ -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);