From 6f2bb422c091dfc6d54d912ead6addc9bd431c79 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 12 Mar 2007 12:57:31 +0000 Subject: fix warnings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12737 a1c6a512-1295-4272-9138-f99709370657 --- wps/wpsbuild.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wps/wpsbuild.pl b/wps/wpsbuild.pl index e976941..b33e70b 100755 --- a/wps/wpsbuild.pl +++ b/wps/wpsbuild.pl @@ -64,7 +64,7 @@ Depth: LCD_DEPTH STOP ; } - close(gcc); + close(GCC); my $c="cat gcctemp | gcc $cppdef -I. -I$firmdir/export -E -P -"; @@ -199,7 +199,7 @@ my ($main_height, $main_width, $main_depth) = getlcdsizes(); my ($remote_height, $remote_width, $remote_depth) = getlcdsizes(1); #print "LCD: ${main_height}x${main_width}x${main_depth}\n"; -$has_remote = true if ($remote_height && $remote_width && remote_depth); +$has_remote = 1 if ($remote_height && $remote_width && remote_depth); open(WPS, "<$wpslist"); while() { @@ -241,7 +241,7 @@ while() { if(!$rheight || !$rwidth) { #printf STDERR "wpsbuild notice: No %sLCD size, skipping $wps\n", - $isrwps?"remote ":""; + #$isrwps?"remote ":""; $within = 0; next; } -- cgit v1.1