diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-28 16:50:01 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-28 16:50:01 +0000 |
commit | 9ba7f657432f6be61620439b4b284dd7b9f7c353 (patch) | |
tree | 387bcc3991f918414f11a34ad8bc496ae468c187 /lib/Support/raw_ostream.cpp | |
parent | 17d95965cbf529f96277130b75c018f5f3873b66 (diff) |
Fix a redundant-return warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/raw_ostream.cpp')
-rw-r--r-- | lib/Support/raw_ostream.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp index 11cf0ec427..93428f5cf2 100644 --- a/lib/Support/raw_ostream.cpp +++ b/lib/Support/raw_ostream.cpp @@ -496,8 +496,9 @@ size_t raw_fd_ostream::preferred_buffer_size() const { return 0; // Return the preferred block size. return statbuf.st_blksize; -#endif +#else return raw_ostream::preferred_buffer_size(); +#endif } raw_ostream &raw_fd_ostream::changeColor(enum Colors colors, bool bold, |