Re: [HACKERS] [PATCH] Removes uninitialized variable compiler warning

2017-03-21 Thread Todd Sedano
We can disregard this patch. It appears that PointerGetDatum initializes lenlemm. On Mon, Mar 20, 2017 at 10:04 AM, Tom Lane wrote: > Todd Sedano writes: > > This patch removes a compiler warning. > > warning: variable 'lenlemm' is uninitialized when used here > &g

[HACKERS] [PATCH] Removes uninitialized variable compiler warning

2017-03-20 Thread Todd Sedano
This patch removes a compiler warning. warning: variable 'lenlemm' is uninitialized when used here [-Wuninitialized] This is my first commit to postgres. I've read through http://wiki.postgresql.org/wiki/Submitting_a_Patch, but I may have missed something. diff --git a/src/backend/tsearch/ts_pa