Silence uninit var warnings from query normalizer user/dbs/silence_query_normalizer_init
authorDan Scott <dscott@laurentian.ca>
Fri, 21 Jun 2013 03:11:20 +0000 (23:11 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 21 Jun 2013 03:11:20 +0000 (23:11 -0400)
commitc9b9bce8a559185f877b1f4bc537f15fc39bb999
treee3f888986f9c1a5727335dfb049306b927ad0da8
parentadba9bf5b841e3b38cb78002db94b341fa9ce78b
Silence uninit var warnings from query normalizer

$field_info can return undef from the search for a matching ID from the
list of normalizers, which in turn generates several uninit var warnings
when attempts are made to access members of the undef variable. We saw
6700 occurrences of these warnings during a typical day of operations.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Driver/Pg/QueryParser.pm