summaryrefslogtreecommitdiff
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
parentb46f1acc7062c8811963ea8107f3caf305273f83 (diff)
downloadrockbox-6f2bb422c091dfc6d54d912ead6addc9bd431c79.tar.gz
rockbox-6f2bb422c091dfc6d54d912ead6addc9bd431c79.zip
fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12737 a1c6a512-1295-4272-9138-f99709370657
-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
64STOP 64STOP
65; 65;
66} 66}
67 close(gcc); 67 close(GCC);
68 68
69 my $c="cat gcctemp | gcc $cppdef -I. -I$firmdir/export -E -P -"; 69 my $c="cat gcctemp | gcc $cppdef -I. -I$firmdir/export -E -P -";
70 70
@@ -199,7 +199,7 @@ my ($main_height, $main_width, $main_depth) = getlcdsizes();
199my ($remote_height, $remote_width, $remote_depth) = getlcdsizes(1); 199my ($remote_height, $remote_width, $remote_depth) = getlcdsizes(1);
200 200
201#print "LCD: ${main_height}x${main_width}x${main_depth}\n"; 201#print "LCD: ${main_height}x${main_width}x${main_depth}\n";
202$has_remote = true if ($remote_height && $remote_width && remote_depth); 202$has_remote = 1 if ($remote_height && $remote_width && remote_depth);
203 203
204open(WPS, "<$wpslist"); 204open(WPS, "<$wpslist");
205while(<WPS>) { 205while(<WPS>) {
@@ -241,7 +241,7 @@ while(<WPS>) {
241 241
242 if(!$rheight || !$rwidth) { 242 if(!$rheight || !$rwidth) {
243 #printf STDERR "wpsbuild notice: No %sLCD size, skipping $wps\n", 243 #printf STDERR "wpsbuild notice: No %sLCD size, skipping $wps\n",
244 $isrwps?"remote ":""; 244 #$isrwps?"remote ":"";
245 $within = 0; 245 $within = 0;
246 next; 246 next;
247 } 247 }