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 | feaeb36edf2a3d971a9392973b0f30e46284c2d1 (patch) | |
tree | eff93b28745e92a79dcaa426ee91ca5d18c9ed80 /llvm/lib/Support/raw_ostream.cpp | |
parent | 862f034188a49b2f68955eebc2b42c8afe539105 (diff) | |
download | bcm5719-llvm-feaeb36edf2a3d971a9392973b0f30e46284c2d1.tar.gz bcm5719-llvm-feaeb36edf2a3d971a9392973b0f30e46284c2d1.zip |
Fix a redundant-return warning.
llvm-svn: 104958
Diffstat (limited to 'llvm/lib/Support/raw_ostream.cpp')
-rw-r--r-- | llvm/lib/Support/raw_ostream.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp index 11cf0ec4271..93428f5cf23 100644 --- a/llvm/lib/Support/raw_ostream.cpp +++ b/llvm/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, |