git://git.jankratochvil.net
/
lldb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[libc] Fix warnings on release build.
[lldb.git]
/
libc
/
utils
/
testutils
/
FDReaderUnix.cpp
diff --git
a/libc/utils/testutils/FDReaderUnix.cpp
b/libc/utils/testutils/FDReaderUnix.cpp
index
943d3eb
..
c54a1a4
100644
(file)
--- a/
libc/utils/testutils/FDReaderUnix.cpp
+++ b/
libc/utils/testutils/FDReaderUnix.cpp
@@
-16,8
+16,8
@@
namespace __llvm_libc {
namespace testutils {
FDReader::FDReader() {
- i
nt err = ::pipe(pipefd);
-
assert(!err &&
"pipe(2) failed");
+ i
f (::pipe(pipefd))
+
llvm::report_fatal_error(
"pipe(2) failed");
}
FDReader::~FDReader() {