pgsql: formatting.c cleanup: Change fill_str() return type to void

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: formatting.c cleanup: Change fill_str() return type to void
Date: 2025-10-31 09:01:20
Message-ID: E1vEl0a-004N0s-16@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(dot)evan(dot)chao(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-10-31 09:53:38 pgsql: Mark function arguments of type "Datum *" as "const Datum *" whe
Previous Message Peter Eisentraut 2025-10-31 07:14:56 pgsql: formatting.c cleanup: Change TmFromChar.clock field to bool