mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Remove redundant memset() introduced by a0942f4.
Reported-by: Chao Li <li.evan.chao@gmail.com> Discussion: https://postgr.es/m/CAEoWx2kAkNaDa01O0nKsQmkfEmxsDvm09SU=f1T0CV8ew3qJEA@mail.gmail.com
This commit is contained in:
@@ -1502,7 +1502,6 @@ heap_form_minimal_tuple(TupleDesc tupleDescriptor,
|
|||||||
* Allocate and zero the space needed.
|
* Allocate and zero the space needed.
|
||||||
*/
|
*/
|
||||||
mem = palloc0(len + extra);
|
mem = palloc0(len + extra);
|
||||||
memset(mem, 0, extra);
|
|
||||||
tuple = (MinimalTuple) (mem + extra);
|
tuple = (MinimalTuple) (mem + extra);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user