remote-refs: Add NULL terminator to options array

Caught by `-fsanitize=undefined`.

Closes: #552
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2016-10-28 17:47:50 +00:00
1 parent 396563e7e9
commit 05dc77d7e5
1 file changed
+1
+1
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