Commit e9dcf0a4 by Jakub Jelinek Committed by Jakub Jelinek

* adaint.c (__gnat_killprocesstree): Avoid -Wparentheses warning.

From-SVN: r232485
parent 3f217497
2016-01-17 Jakub Jelinek <jakub@redhat.com>
* adaint.c (__gnat_killprocesstree): Avoid -Wparentheses warning.
2016-01-15 Jakub Jelinek <jakub@redhat.com>
* adaint.c (__gnat_locate_exec_on_path): Use const char * instead
......
......@@ -3281,7 +3281,7 @@ void __gnat_killprocesstree (int pid, int sig_num)
/* kill child processes first */
while (d = readdir (dir))
while ((d = readdir (dir)) != NULL)
{
if ((d->d_type & DT_DIR) == DT_DIR)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment