pg_regress: Remove unused variable

Daniel Gustafsson <dgustafsson@postgresql.org>

Commit: f863d82b2f9801c556882ca92b519982a82133e3
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2023-07-06T19:21:37Z
Releases: 17.0
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

Files

PathChange+/−
src/test/regress/pg_regress.c modified +1 −3

Discussion