Unverified Commit 82e8c5b9 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

options.c: consistently initialize all unset pointers to NULL

parent 4d1e36ce
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -61,9 +61,24 @@ void init_parse_options(int argc, char **argv)
	opt.xinerama = 1;
#endif				/* HAVE_LIBXINERAMA */
	opt.screen_clip = 1;

	opt.output_file = NULL;
	opt.output_dir = NULL;
	opt.bg_file = NULL;
	opt.image_bg = NULL;
	opt.font = NULL;
	opt.title_font = NULL;
	opt.title = NULL;
	opt.thumb_title = NULL;
	opt.fontpath = NULL;
	opt.filelistfile = NULL;
	opt.menu_font = estrdup(DEFAULT_MENU_FONT);
	opt.customlist = NULL;
	opt.caption_path = NULL;
	opt.start_list_at = NULL;
	opt.info_cmd = NULL;
	opt.index_info = NULL;

	opt.thumb_w = 60;
	opt.thumb_h = 60;
	opt.thumb_redraw = 10;