summaryrefslogtreecommitdiffstats
path: root/tools/checkwps
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-10-18 21:46:51 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-10-18 21:46:51 +0000
commitf1fd60288f5fd90419d169e93d55bff34ffef70d (patch)
tree787dee6ec8810b67911ef0f460552d18b0e6d00e /tools/checkwps
parentb88efd11c24fe2585c9e328f3e8354bf64cf0708 (diff)
downloadrockbox-f1fd60288f5fd90419d169e93d55bff34ffef70d.tar.gz
rockbox-f1fd60288f5fd90419d169e93d55bff34ffef70d.tar.bz2
rockbox-f1fd60288f5fd90419d169e93d55bff34ffef70d.zip
checkwps: properly zero the wps struct to avoid interesting issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28308 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/checkwps')
-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 7b1aa24764..39d4358320 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -236,7 +236,7 @@ int main(int argc, char **argv)
int res;
int filearg = 1;
- struct wps_data wps;
+ struct wps_data wps={0};
enum screen_type screen = SCREEN_MAIN;
struct screen* wps_screen;