diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-01-28 17:18:23 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-01-28 17:18:53 -0500 |
commit | d777e27c80f83e1177393641b99b1c7c4b19af17 (patch) | |
tree | 6186fe81760fa7690390ad06e079bf7327151920 /src/backend/rewrite/rewriteHandler.c | |
parent | 27c79a46aae34e239c5655586bd6be9102469853 (diff) |
Silence another gcc 11 warning.
Per buildfarm and local experimentation, bleeding-edge gcc isn't
convinced that the MemSet in reorder_function_arguments() is safe.
Shut it up by adding an explicit check that pronargs isn't negative,
and by changing MemSet to memset. (It appears that either change is
enough to quiet the warning at -O2, but let's do both to be sure.)
Diffstat (limited to 'src/backend/rewrite/rewriteHandler.c')
0 files changed, 0 insertions, 0 deletions