[llvm-commits] [llvm] r104958 - /llvm/trunk/lib/Support/raw_ostream.cpp
Dan Gohman
gohman at apple.com
Fri May 28 09:50:01 PDT 2010
Author: djg
Date: Fri May 28 11:50:01 2010
New Revision: 104958
URL: http://llvm.org/viewvc/llvm-project?rev=104958&view=rev
Log:
Fix a redundant-return warning.
Modified:
llvm/trunk/lib/Support/raw_ostream.cpp
Modified: llvm/trunk/lib/Support/raw_ostream.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/raw_ostream.cpp?rev=104958&r1=104957&r2=104958&view=diff
==============================================================================
--- llvm/trunk/lib/Support/raw_ostream.cpp (original)
+++ llvm/trunk/lib/Support/raw_ostream.cpp Fri May 28 11:50:01 2010
@@ -496,8 +496,9 @@
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,
More information about the llvm-commits
mailing list