diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-03-05 17:21:24 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-03-05 17:23:44 +0000 |
commit | 9412b35affa46a18f7e657fb449b449ac9a4a599 (patch) | |
tree | eec7292e17469155635d3b3152635b1085020405 /gcc/tree-ssa-strlen.c | |
parent | a5090de45af6c9c0f93306de4b6a4d3b56fccd94 (diff) | |
download | gcc-9412b35affa46a18f7e657fb449b449ac9a4a599.zip gcc-9412b35affa46a18f7e657fb449b449ac9a4a599.tar.gz gcc-9412b35affa46a18f7e657fb449b449ac9a4a599.tar.bz2 |
libstdc++: Fix some warnings in filesystem tests
There's a -Wunused-but-set-variable warning in operations/all.cc which
can be fixed with [[maybe_unused]].
The statements in operations/copy.cc give -Wunused-value warnings. I
think I meant to use |= rather than !=.
And operations/file_size.cc gets -Wsign-compare warnings.
* testsuite/27_io/filesystem/operations/all.cc: Mark unused variable.
* testsuite/27_io/filesystem/operations/copy.cc: Fix typo.
* testsuite/experimental/filesystem/operations/copy.cc: Likewise.
* testsuite/27_io/filesystem/operations/file_size.cc: Use correct type
for return value, and in comparison.
* testsuite/experimental/filesystem/operations/file_size.cc: Likewise.
Diffstat (limited to 'gcc/tree-ssa-strlen.c')
0 files changed, 0 insertions, 0 deletions