summaryrefslogtreecommitdiff
path: root/lldb/source/Core/SourceManager.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-08-30 17:50:57 +0000
committerEric Christopher <echristo@gmail.com>2013-08-30 17:50:57 +0000
commit8acb98b6d749803ab39d7ce981b27380381161d8 (patch)
treeb117e80d50c7dfc11c068c6896f4d42a6384fe7e /lldb/source/Core/SourceManager.cpp
parent9f75fa5db19458d80e43f48bf5e7706eb7102fae (diff)
Fix a bunch of compile time warnings and a build failure on ubuntu.
Diffstat (limited to 'lldb/source/Core/SourceManager.cpp')
-rw-r--r--lldb/source/Core/SourceManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Core/SourceManager.cpp b/lldb/source/Core/SourceManager.cpp
index 9f289348fd9..940034625c0 100644
--- a/lldb/source/Core/SourceManager.cpp
+++ b/lldb/source/Core/SourceManager.cpp
@@ -567,15 +567,15 @@ SourceManager::File::CalculateLineOffsets (uint32_t line)
// Push a 1 at index zero to indicate the file has been completely indexed.
m_offsets.push_back(UINT32_MAX);
- register const char *s;
+ const char *s;
for (s = start; s < end; ++s)
{
- register char curr_ch = *s;
+ char curr_ch = *s;
if (is_newline_char (curr_ch))
{
if (s + 1 < end)
{
- register char next_ch = s[1];
+ char next_ch = s[1];
if (is_newline_char (next_ch))
{
if (curr_ch != next_ch)