aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2022-06-14 13:47:27 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-07-06 13:29:48 +0000
commitb65a875a7c1a728ddb5d58fb97777394a6f773e2 (patch)
treef5725f1ed88ef60d7318ab6d2927fbab250adb48 /gcc/ada/gcc-interface
parent35e0aa2df74f2ce1e6d593e699cd7b9e81b9e2ee (diff)
downloadgcc-b65a875a7c1a728ddb5d58fb97777394a6f773e2.zip
gcc-b65a875a7c1a728ddb5d58fb97777394a6f773e2.tar.gz
gcc-b65a875a7c1a728ddb5d58fb97777394a6f773e2.tar.bz2
[Ada] Cleanup use of local scalars in GNAT.Socket.Get_Address_Info
A cleanup opportunity spotted while working on improved detection of uninitialised local scalar objects. gcc/ada/ * libgnat/g-socket.adb (Get_Address_Info): Reduce scope of the Found variable; avoid repeated assignment inside the loop.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions