Changeset 320

Show
Ignore:
Timestamp:
06/02/06 23:10:23 (6 years ago)
Author:
dom
Message:

Fix uninitialized variable warnings.

Location:
wiki-toolkit/trunk/lib/Wiki/Toolkit/Feed
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • wiki-toolkit/trunk/lib/Wiki/Toolkit/Feed/Atom.pm

    r315 r320  
    125125    # TODO: Decide if we should include the "all categories listing" url 
    126126    #        as the scheme (URI) attribute? 
    127     my $category_atom; 
     127    my $category_atom = ""; 
    128128    if($node->{metadata}->{category}) { 
    129129        foreach my $cat (@{ $node->{metadata}->{category} }) { 
  • wiki-toolkit/trunk/lib/Wiki/Toolkit/Feed/RSS.pm

    r315 r320  
    171171    # TODO: Decide if we should include the "all categories listing" url 
    172172    #        as the scheme (URI) attribute? 
    173     my $category_rss; 
     173    my $category_rss = ""; 
    174174    if($node->{metadata}->{category}) { 
    175175        foreach my $cat (@{ $node->{metadata}->{category} }) {