Kaydet (Commit) b3e08101 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: gcc 4.6.0 various warnings

üst 68ae086b
...@@ -124,11 +124,9 @@ AstStack* AstStack::push(AstScope* pScope) ...@@ -124,11 +124,9 @@ AstStack* AstStack::push(AstScope* pScope)
void AstStack::pop() void AstStack::pop()
{ {
AstScope *pScope;
if (m_top < 1) if (m_top < 1)
return; return;
pScope = m_stack[--m_top]; --m_top;
} }
void AstStack::clear() void AstStack::clear()
......
...@@ -305,7 +305,6 @@ sal_Bool AstUnion::dump(RegistryKey& rKey) ...@@ -305,7 +305,6 @@ sal_Bool AstUnion::dump(RegistryKey& rKey)
AstUnionLabel* pLabel = NULL; AstUnionLabel* pLabel = NULL;
AstExprValue* pExprValue = NULL; AstExprValue* pExprValue = NULL;
RTConstValue aConst; RTConstValue aConst;
RTFieldAccess access = RT_ACCESS_READWRITE;
OUString docu; OUString docu;
sal_uInt16 index = 0; sal_uInt16 index = 0;
if ( pDefault ) if ( pDefault )
...@@ -345,7 +344,6 @@ sal_Bool AstUnion::dump(RegistryKey& rKey) ...@@ -345,7 +344,6 @@ sal_Bool AstUnion::dump(RegistryKey& rKey)
if ( pDefault ) if ( pDefault )
{ {
access = RT_ACCESS_DEFAULT;
aConst.m_type = RT_TYPE_INT64; aConst.m_type = RT_TYPE_INT64;
aConst.m_value.aHyper = disc + 1; aConst.m_value.aHyper = disc + 1;
aBlob.setFieldData( aBlob.setFieldData(
......
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