Improve readability of if-statement in dmetaphone.c

From: "Tristan Partin" <tristan(at)partin(dot)io>
To: "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Improve readability of if-statement in dmetaphone.c
Date: 2026-08-03 22:45:50
Message-ID: DKFO99FP6SLY.2O6A6BUK6P3OQ@partin.io
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

clangd was warning on the indentation of the else-if statement with
a readability-misleading-indentation. I'll agree with clangd in this
instance. I had to stare at the block for a moment to understand what it
was doing. Figured I would throw the patch up in the event some
committer agreed.

--
Tristan Partin
PostgreSQL Contributors Team
AWS (https://aws.amazon.com)

Attachment Content-Type Size
misleading-indent.diff text/x-patch 800 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Sami Imseih 2026-08-03 22:46:37 Re: Add pg_stat_kind_info system view
Previous Message Melanie Plageman 2026-08-03 22:45:35 Re: [PATCH] vacuum: stop using stream ring after failsafe