diff options
author | Jakub Jelinek <jakub@redhat.com> | 2016-01-17 19:07:39 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2016-01-17 19:07:39 +0100 |
commit | e9dcf0a447de66cdd3c3ce99c44bea4afd573f4f (patch) | |
tree | 9d0e09cecf2a220b90cda708f1510e74c262deec /gcc/ada/adaint.c | |
parent | 3f217497caa3f5c98cd933df2efcac6f6d462185 (diff) | |
download | gcc-e9dcf0a447de66cdd3c3ce99c44bea4afd573f4f.zip gcc-e9dcf0a447de66cdd3c3ce99c44bea4afd573f4f.tar.gz gcc-e9dcf0a447de66cdd3c3ce99c44bea4afd573f4f.tar.bz2 |
* adaint.c (__gnat_killprocesstree): Avoid -Wparentheses warning.
From-SVN: r232485
Diffstat (limited to 'gcc/ada/adaint.c')
-rw-r--r-- | gcc/ada/adaint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c index 8a71888..3053c69 100644 --- a/gcc/ada/adaint.c +++ b/gcc/ada/adaint.c @@ -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) { |