Opened 9 years ago

Closed 9 years ago

#938 closed Defect (fixed)

annoying perl warning when building configurations

Reported by: vichi Owned by: nemo
Priority: low Milestone: Unscheduled
Component: tools Version: release-3.4
Severity: Keywords: FCM
Cc: Branch review:
MP ready?: Task progress:


For those who continuously get many warnings like this

"Use of uninitialized value within @all_fields in lc"

when building the configuration, it can be solved by changing the following line in


@@ -204,7 +204,7 @@ for my $name (qw/label slabel/) {
     my @all_fields = $self->$method;
     for my $i (0 .. $#fields) {
-      next if lc ($fields[$i]) eq lc ($all_fields[$i]);
+      next if lc ($fields[$i]) eq lc ($all_fields[$i] || '');
       $return = 0;

please inform FCM developers in case.

Commit History (1)


Removed annoying warning during configuration build (Ticket #938)

Changed one line in FCM to remove all warnings when building a configuration.

Change History (1)

comment:1 Changed 9 years ago by vichi

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from annoying perl warning when buolding configurations to annoying perl warning when building configurations

Fixed in revision 3673

Note: See TracTickets for help on using tickets.