Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r17257: Removing misc "uninitialized" warnings

Committer: gariev
Removing misc "uninitialized" warnings
U   trunk/cgi-bin/LJ/Setting/EmbedPlaceholders.pm
U   trunk/cgi-bin/LJ/Setting/EntryEditor.pm
U   trunk/cgi-bin/LJ/Setting/SMS.pm
U   trunk/htdocs/inbox/compose.bml
Modified: trunk/cgi-bin/LJ/Setting/EmbedPlaceholders.pm
===================================================================
--- trunk/cgi-bin/LJ/Setting/EmbedPlaceholders.pm	2010-09-01 19:30:18 UTC (rev 17256)
+++ trunk/cgi-bin/LJ/Setting/EmbedPlaceholders.pm	2010-09-01 20:18:26 UTC (rev 17257)
@@ -2,6 +2,7 @@
 use base 'LJ::Setting';
 use strict;
 use warnings;
+no warnings 'uninitialized';
 
 sub should_render {
     my ($class, $u) = @_;

Modified: trunk/cgi-bin/LJ/Setting/EntryEditor.pm
===================================================================
--- trunk/cgi-bin/LJ/Setting/EntryEditor.pm	2010-09-01 19:30:18 UTC (rev 17256)
+++ trunk/cgi-bin/LJ/Setting/EntryEditor.pm	2010-09-01 20:18:26 UTC (rev 17257)
@@ -2,6 +2,7 @@
 use base 'LJ::Setting';
 use strict;
 use warnings;
+no warnings 'uninitialized';
 
 sub should_render {
     my ($class, $u) = @_;

Modified: trunk/cgi-bin/LJ/Setting/SMS.pm
===================================================================
--- trunk/cgi-bin/LJ/Setting/SMS.pm	2010-09-01 19:30:18 UTC (rev 17256)
+++ trunk/cgi-bin/LJ/Setting/SMS.pm	2010-09-01 20:18:26 UTC (rev 17257)
@@ -2,6 +2,7 @@
 use base 'LJ::Setting';
 use strict;
 use warnings;
+no warnings 'uninitialized';
 
 sub should_render {
     my ($class, $u) = @_;

Modified: trunk/htdocs/inbox/compose.bml
===================================================================
--- trunk/htdocs/inbox/compose.bml	2010-09-01 19:30:18 UTC (rev 17256)
+++ trunk/htdocs/inbox/compose.bml	2010-09-01 20:18:26 UTC (rev 17257)
@@ -6,10 +6,9 @@
     use vars qw(%GET %POST);
 
     use warnings;
-    use Class::Autouse qw(
-                          LJ::Message
-                          LJ::JSUtil
-                          );
+    no warnings 'uninitialized';
+    use LJ::Message;
+    use LJ::JSUtil;
 
     return "User messaging is currently disabled" if $LJ::DISABLED{user_messaging};
 

Tags: bml, gariev, livejournal, pm
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments