Build fix. Turn off uninitialized warnings for the first block of code.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Mar 2006 01:50:54 +0000 (01:50 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Mar 2006 01:50:54 +0000 (01:50 +0000)
        * Scripts/check-for-global-initializers:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13544 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/ChangeLog
WebKitTools/Scripts/check-for-global-initializers

index 7269a45468bf103078f25d2eed7093fa346eee30..9a7a1d293a5ab14207ba8e76676bc5940c71cbda 100644 (file)
@@ -1,3 +1,9 @@
+2006-03-28  Timothy Hatcher  <timothy@apple.com>
+
+        Build fix. Turn off uninitialized warnings for the first block of code.
+
+        * Scripts/check-for-global-initializers:
+
 2006-03-28  Darin Adler  <darin@apple.com>
 
         Reviewed by Geoff.
index 528b72b52d2ed87dda3935e4323e3a220c6d03c8..2d27ff05817e4dde290cc08be792428bf192eb35 100755 (executable)
@@ -34,6 +34,8 @@
 use warnings;
 use strict;
 
+no warnings 'uninitialized'; # FIXME: turn off uninitialized warnings so the following code works
+
 my $arch = $ENV{'CURRENT_ARCH'};
 my $configuration = $ENV{'CONFIGURATION'};
 my $target = $ENV{'TARGET_NAME'};
@@ -45,6 +47,9 @@ if (!open LIST, $list) {
     print "Could not open $list\n";
     exit 1;
 }
+
+use warnings; # turn all warnings back on
+
 my @files = <LIST>;
 chomp @files;
 close LIST;