Kaydet (Commit) 104a7bab authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wdeprecated-register

Change-Id: I1ec3d7845477cfb5bc6a3d7f70ddabef12583e1b
üst a9966b27
......@@ -222,7 +222,7 @@ void EntryCache::destroy (Entry * entry)
*======================================================================*/
static int highbit(sal_Size n)
{
register int k = 1;
int k = 1;
if (n == 0)
return (0);
......@@ -420,7 +420,7 @@ void PageCache_Impl::rescale_Impl (sal_Size new_size)
Entry * PageCache_Impl::lookup_Impl (Entry * entry, sal_uInt32 nOffset)
{
register int lookups = 0;
int lookups = 0;
while (entry != 0)
{
if (entry->m_nOffset == nOffset)
......
......@@ -57,12 +57,12 @@ OStoreBTreeNodeData::OStoreBTreeNodeData (sal_uInt16 nPageSize)
*/
sal_uInt16 OStoreBTreeNodeData::find (const T& t) const
{
register sal_Int32 l = 0;
register sal_Int32 r = usageCount() - 1;
sal_Int32 l = 0;
sal_Int32 r = usageCount() - 1;
while (l < r)
{
register sal_Int32 const m = ((l + r) >> 1);
sal_Int32 const m = ((l + r) >> 1);
if (t.m_aKey == m_pData[m].m_aKey)
return ((sal_uInt16)(m));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment