Opened 12 years ago
Closed 12 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: | v3.4 |
Severity: | Keywords: | FCM | |
Cc: |
Description
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
NEMOGCM/EXTERNAL/fcm/lib/Fcm/CfgLine.pm
@@ -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; last; }
please inform FCM developers in case.
Commit History (1)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
3673 | vichi | 2012-11-27T13:59:21+01:00 | 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 12 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
Note: See
TracTickets for help on using
tickets.
Fixed in revision 3673