From a40c87be4706588463f6a066653faa5da7972783 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Fri, 21 Aug 2009 19:31:37 +0000 Subject: Checkwps: give wps_screen an initial value git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22454 a1c6a512-1295-4272-9138-f99709370657 --- tools/checkwps/checkwps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/checkwps') diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c index 5789f05e88..74f1941f6c 100644 --- a/tools/checkwps/checkwps.c +++ b/tools/checkwps/checkwps.c @@ -431,7 +431,7 @@ int main(int argc, char **argv) int filearg = 1; struct wps_data wps; - struct screen* wps_screen; + struct screen* wps_screen = &screens[SCREEN_MAIN]; /* No arguments -> print the help text * Also print the help text upon -h or --help */ -- cgit