diff options
author | Richard Kettlewell <rjk@greenend.org.uk> | 2015-01-04 15:36:26 +0000 |
---|---|---|
committer | Richard Kettlewell <rjk@greenend.org.uk> | 2015-01-04 15:36:26 +0000 |
commit | 11b3e4281c5cac9ba1ee22e627c48e19033d95e2 (patch) | |
tree | bed39b36e1c38a994018b6311047ecddee42a06d /src/test-globfiles.cc | |
parent | 1a4a23732a97d88bd960fe33f87d48c881679f69 (diff) |
Work around fortify false positive
Diffstat (limited to 'src/test-globfiles.cc')
-rw-r--r-- | src/test-globfiles.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test-globfiles.cc b/src/test-globfiles.cc index c77b3f0..7e9aa6e 100644 --- a/src/test-globfiles.cc +++ b/src/test-globfiles.cc @@ -73,7 +73,8 @@ int main() { assert(files.size() == 1); assert(files[0] == "b"); - system(("rm -rf " + (std::string)dir).c_str()); + int r = system(("rm -rf " + (std::string)dir).c_str()); + (void)r; // Work around GCC/Glibc stupidity return 0; } |