Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(115)

Unified Diff: src/common/dwarf_cfi_to_module.cc

Issue 310003: Fix harmless warning in dwarf_cfi_to_module.cc (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: Created 13 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/common/dwarf_cfi_to_module.cc
===================================================================
--- src/common/dwarf_cfi_to_module.cc (revision 856)
+++ src/common/dwarf_cfi_to_module.cc (working copy)
@@ -132,7 +132,7 @@
if (reg == return_address_)
return ra_name_;
- if (0 <= reg && reg < register_names_.size())
+ if (reg < register_names_.size())
return register_names_[reg];
reporter_->UnnamedRegister(entry_offset_, reg);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted