commit | 48a5e85aab65224260c6e8b6dafd508312119311 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Fri Sep 09 20:35:15 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Fri Sep 09 20:35:15 2011 +0000 |
tree | f1e15761ff6ef333206d113b153e77e94ffdaa9a | |
parent | e9f4982716a8b91007af2637bd32e8661e3a9103 [diff] [blame] |
Fix compiler warnings for GetGDBStoppointType(). git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139402 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 5c04c36..3bb551a 100644 --- a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -1894,9 +1894,9 @@ assert(watch_read || watch_write); if (watch_read && watch_write) return eWatchpointReadWrite; - if (watch_read) + else if (watch_read) return eWatchpointRead; - if (watch_write) + else // Must be watch_write, then. return eWatchpointWrite; }