Fix a redundant-return warning.
authorDan Gohman <gohman@apple.com>
Fri, 28 May 2010 16:50:01 +0000 (16:50 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 28 May 2010 16:50:01 +0000 (16:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104958 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/raw_ostream.cpp

index 11cf0ec4271b03701649a1b6b4012726e993ddda..93428f5cf238cb753536b8621d60dc5f049aec76 100644 (file)
@@ -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,