pgsql: Remove redundant assignment in CreateWorkExprContext - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Remove redundant assignment in CreateWorkExprContext
Date
Msg-id E1vg744-000Tvl-25@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove redundant assignment in CreateWorkExprContext

In CreateWorkExprContext(), maxBlockSize is initialized to
ALLOCSET_DEFAULT_MAXSIZE, and it then immediately reassigned,
thus the initialization is a redundant.

Author: Andreas Karlsson <andreas@proxel.se>
Reported-by: Chao Li <lic@highgo.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/83a14f3c-f347-4769-9c01-30030b31f1eb@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ed425b5a200ac00488940f2354d3cf9f11091926

Modified Files
--------------
src/backend/executor/execUtils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: lwlock: Improve local variable name
Next
From: Michael Paquier
Date:
Subject: pgsql: Introduce routines to validate and free MVNDistinct and MVDepend