fix warnings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12737 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2007-03-12 12:57:31 +00:00
parent b46f1acc70
commit 6f2bb422c0

View file

@ -64,7 +64,7 @@ Depth: LCD_DEPTH
STOP STOP
; ;
} }
close(gcc); close(GCC);
my $c="cat gcctemp | gcc $cppdef -I. -I$firmdir/export -E -P -"; 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); my ($remote_height, $remote_width, $remote_depth) = getlcdsizes(1);
#print "LCD: ${main_height}x${main_width}x${main_depth}\n"; #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"); open(WPS, "<$wpslist");
while(<WPS>) { while(<WPS>) {
@ -241,7 +241,7 @@ while(<WPS>) {
if(!$rheight || !$rwidth) { if(!$rheight || !$rwidth) {
#printf STDERR "wpsbuild notice: No %sLCD size, skipping $wps\n", #printf STDERR "wpsbuild notice: No %sLCD size, skipping $wps\n",
$isrwps?"remote ":""; #$isrwps?"remote ":"";
$within = 0; $within = 0;
next; next;
} }