Cleaned up formal declaration of variables at top of function. Explicitly initialize everything to NULL or zero. Moved code (snprintf(filter)) out of variable block, for readability.
From Dennis Jenkins
Authored by: faxguy 2013-07-31
Parent: [r2297]
Child: [r2299]