From 5aa4bf6faaafc3035d4fff0e9b1a228326e8474c Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 12 Feb 2013 21:07:23 +1100 Subject: [PATCH] fix checkwps Change-Id: Ie3bdfe18db6f8279f3575b253519fe4820649898 --- tools/checkwps/checkwps.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c index 06f88bbbbf..10e505f006 100644 --- a/tools/checkwps/checkwps.c +++ b/tools/checkwps/checkwps.c @@ -294,6 +294,7 @@ int main(int argc, char **argv) while (argv[filearg]) { const char* name = argv[filearg++]; char *ext = strrchr(name, '.'); + struct skin_stats stats; printf("Checking %s...\n", name); if (!ext) { @@ -321,7 +322,7 @@ int main(int argc, char **argv) } wps_screen = &screens[screen]; - res = skin_data_load(screen, &wps, name, true); + res = skin_data_load(screen, &wps, name, true, &stats); if (!res) { printf("WPS parsing failure\n"); -- 2.11.4.GIT