projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17d9596
)
Fix a redundant-return warning.
author
Dan Gohman
<gohman@apple.com>
Fri, 28 May 2010 16:50:01 +0000
(16:50 +0000)
committer
Dan 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
patch
|
blob
|
history
diff --git
a/lib/Support/raw_ostream.cpp
b/lib/Support/raw_ostream.cpp
index 11cf0ec4271b03701649a1b6b4012726e993ddda..93428f5cf238cb753536b8621d60dc5f049aec76 100644
(file)
--- 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;
-#e
ndif
+#e
lse
return raw_ostream::preferred_buffer_size();
+#endif
}
raw_ostream &raw_fd_ostream::changeColor(enum Colors colors, bool bold,