pgsql: pg_regress: Remove unused variable

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_regress: Remove unused variable
Date: 2023-07-06 19:27:09
Message-ID: E1qHUdB-002F9o-GH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_regress: Remove unused variable

The restrictedToken handle was set but never read, so remove the
variable and change to a boolean style check to match other uses
of CreateRestrictedProcess().

Reviewed-by: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/62A63C81-3893-4E3F-A34E-2081DF67074E@yesql.se

Branch
------
master

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

Modified Files
--------------
src/test/regress/pg_regress.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-07-07 05:05:49 pgsql: Fix some comments in ./configure and meson setup files
Previous Message Andres Freund 2023-07-06 17:29:03 pgsql: Fix type of iterator variable in SH_START_ITERATE