pgsql: formatting.c cleanup: Change fill_str() return type to void - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: formatting.c cleanup: Change fill_str() return type to void
Date
Msg-id E1vEl0a-004N0s-16@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
formatting.c cleanup: Change fill_str() return type to void

The return value is not used anywhere.

In passing, add a comment explaining the function's arguments.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/6dd9d208-a3ed-49b5-b03d-8617261da973%40eisentraut.org

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/formatting.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: formatting.c cleanup: Rename DCH_S_* to DCH_SUFFIX_*
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Mark function arguments of type "Datum *" as "const Datum *" whe