Unnecessary warnings in CircCommon.pm caused by hash initialization
Bug #1564378 reported by
Jason Boyer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Low
|
Unassigned | ||
2.10 |
Fix Released
|
Undecided
|
Unassigned | ||
2.8 |
Fix Released
|
Undecided
|
Unassigned | ||
2.9 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Evergreen version: All supported
Others: N/A
Any time that a particular code path in the extend_grade_period function of CircCommon.pm is called there will be a "Reference found where even-sized list expected at ..." warning emitted because a hash is initialized like so: my %hash = {}; when it should just be my %hash; The good news is that this appears to be the last of this style of hash initialization in Evergreen, so let's finally oil this last squeaky wheel. One liner branch incoming.
summary: |
- Unnecessary hash initialization in CircCommon.pm causes warnings + Unnecessary warnings in CircCommon.pm caused by hash initialization |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Changed in evergreen: | |
milestone: | 2.next → 2.11-alpha |
To post a comment you must log in.
As promised: http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ jboyer/ lp1564378_ shush_you