projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7df3544
)
[lldb] Surpress "ingoring result" warning in reproducer_handler
author
Pavel Labath
<pavel@labath.sk>
Sun, 27 Dec 2020 12:56:35 +0000
(13:56 +0100)
committer
Pavel Labath
<pavel@labath.sk>
Sun, 27 Dec 2020 12:58:05 +0000
(13:58 +0100)
lldb/tools/driver/Driver.cpp
patch
|
blob
|
history
diff --git
a/lldb/tools/driver/Driver.cpp
b/lldb/tools/driver/Driver.cpp
index
870f763
..
e4a6012
100644
(file)
--- a/
lldb/tools/driver/Driver.cpp
+++ b/
lldb/tools/driver/Driver.cpp
@@
-732,7
+732,8
@@
void sigcont_handler(int signo) {
void reproducer_handler(void *finalize_cmd) {
if (SBReproducer::Generate()) {
- std::system(static_cast<const char *>(finalize_cmd));
+ int result = std::system(static_cast<const char *>(finalize_cmd));
+ (void)result;
fflush(stdout);
}
}