summaryrefslogtreecommitdiffstats
path: root/wps
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-03-12 12:57:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-03-12 12:57:31 +0000
commit6f2bb422c091dfc6d54d912ead6addc9bd431c79 (patch)
treee373479101263ab3bea011fe8a6f568c581911d1 /wps
parentb46f1acc7062c8811963ea8107f3caf305273f83 (diff)
downloadrockbox-6f2bb422c091dfc6d54d912ead6addc9bd431c79.tar.gz
rockbox-6f2bb422c091dfc6d54d912ead6addc9bd431c79.tar.bz2
rockbox-6f2bb422c091dfc6d54d912ead6addc9bd431c79.zip
fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12737 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'wps')
-rwxr-xr-xwps/wpsbuild.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/wps/wpsbuild.pl b/wps/wpsbuild.pl
index e976941192..b33e70bf4a 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(<WPS>) {
@@ -241,7 +241,7 @@ while(<WPS>) {
if(!$rheight || !$rwidth) {
#printf STDERR "wpsbuild notice: No %sLCD size, skipping $wps\n",
- $isrwps?"remote ":"";
+ #$isrwps?"remote ":"";
$within = 0;
next;
}