From: Dan Gohman Date: Fri, 28 May 2010 16:50:01 +0000 (+0000) Subject: Fix a redundant-return warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9ba7f657432f6be61620439b4b284dd7b9f7c353;p=oota-llvm.git Fix a redundant-return warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104958 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp index 11cf0ec4271..93428f5cf23 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,