Avoid unused value (src/fe_utils/print.c)

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Avoid unused value (src/fe_utils/print.c)
Date: 2023-06-03 10:14:57
Message-ID: CAEudQAqwC5=cwgyEhq6HZS6aF_2QB_DMTm0j2qfmQnPwgPVKdw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

This is for Postgres 17 (head).

Per Coverity.
At function print_unaligned_text, variable "need_recordsep", is
unnecessarily set to true and false.

Attached a trivial fix patch.

regards,
Ranier Vilela

Attachment Content-Type Size
avoid-unused-value-print.patch application/octet-stream 461 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2023-06-03 11:09:26 Re: [PATCH] Slight improvement of worker_spi.c example
Previous Message 謝東霖 2023-06-03 09:24:43 Improve join_search_one_level readibilty (one line change)