remote-refs: Add NULL terminator to options array

Caught by `-fsanitize=undefined`.

Closes: #552
Approved by: jlebon
This commit is contained in:
Colin Walters 2016-10-28 09:32:02 -04:00 committed by Atomic Bot
parent 396563e7e9
commit 05dc77d7e5
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ static char* opt_cache_dir;
static GOptionEntry option_entries[] = {
{ "cache-dir", 0, 0, G_OPTION_ARG_STRING, &opt_cache_dir, "Use custom cache dir", NULL },
{ NULL }
};
gboolean