]> git.ipfire.org Git - thirdparty/gcc.git/commit
Ada: Fix strange control flow in terminals.c
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 24 Oct 2025 13:38:00 +0000 (15:38 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Fri, 24 Oct 2025 16:52:45 +0000 (18:52 +0200)
commite56b72872d6daa775dd4a486c15cd85fe910c4e1
treecac8363ff1e028e52a596a4f1d526a6cb73435c6
parent6a8b5b873fc6312dff29b8bdb9de444caae600ef
Ada: Fix strange control flow in terminals.c

This was caught by a static analyzer some time ago.

gcc/ada/
PR ada/98879
* terminals.c (__gnat_setup_child_communication) [_WIN32]: Add else
blocks in the processing of the data returned by ReadFile.
gcc/ada/terminals.c