From 8acb98b6d749803ab39d7ce981b27380381161d8 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 30 Aug 2013 17:50:57 +0000 Subject: Fix a bunch of compile time warnings and a build failure on ubuntu. --- lldb/source/Core/SourceManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lldb/source/Core/SourceManager.cpp') 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) -- cgit v1.2.3