pgsql: pg_regress: Remove unused variable - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: pg_regress: Remove unused variable
Date
Msg-id E1qHUdB-002F9o-GH@gemulon.postgresql.org
Whole thread Raw
List 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@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.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(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Fix type of iterator variable in SH_START_ITERATE
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix some comments in ./configure and meson setup files