diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-07-22 17:31:44 +0000 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-07-22 17:31:44 +0000 |
commit | a026de0585969aba770e5d72b79e9733905f678b (patch) | |
tree | f93b25b1e1d5332667de58042c3e0234a7449fa2 /lldb/tools/debugserver/source/DNB.cpp | |
parent | 9b46e9c5de19f91c4b6b8b1d3405875c48190aac (diff) | |
download | bcm5719-llvm-a026de0585969aba770e5d72b79e9733905f678b.tar.gz bcm5719-llvm-a026de0585969aba770e5d72b79e9733905f678b.zip |
Fix warnings.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D11404
llvm-svn: 242913
Diffstat (limited to 'lldb/tools/debugserver/source/DNB.cpp')
-rw-r--r-- | lldb/tools/debugserver/source/DNB.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/tools/debugserver/source/DNB.cpp b/lldb/tools/debugserver/source/DNB.cpp index f9cab2ff665..f630d0b47da 100644 --- a/lldb/tools/debugserver/source/DNB.cpp +++ b/lldb/tools/debugserver/source/DNB.cpp @@ -446,6 +446,7 @@ DNBProcessLaunch (const char *path, else { bool res = AddProcessToMap(pid, processSP); + (void)res; assert(res && "Couldn't add process to map!"); return pid; } @@ -494,6 +495,7 @@ DNBProcessAttach (nub_process_t attach_pid, struct timespec *timeout, char *err_ if (pid != INVALID_NUB_PROCESS) { bool res = AddProcessToMap(pid, processSP); + (void)res; assert(res && "Couldn't add process to map!"); spawn_waitpid_thread(pid); } |