summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-21 19:31:37 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-08-21 19:31:37 +0000
commita40c87be4706588463f6a066653faa5da7972783 (patch)
tree2bd02e0cc01ba36685d227da61cbc69fd6e01175 /tools
parent8741cd4ebda2b810cf127d6c43726df9fc483acc (diff)
downloadrockbox-a40c87be4706588463f6a066653faa5da7972783.tar.gz
rockbox-a40c87be4706588463f6a066653faa5da7972783.tar.bz2
rockbox-a40c87be4706588463f6a066653faa5da7972783.zip
Checkwps: give wps_screen an initial value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22454 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r--tools/checkwps/checkwps.c2
1 files changed, 1 insertions, 1 deletions
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 */