Kaydet (Commit) 6646474a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: nop between pointer types of exactly same spelling

Change-Id: Iec7b56a49924acfc6cb15c17ea6a4c9d3ee196b0
üst ef6877c1
...@@ -71,7 +71,7 @@ void SAL_CALL Mapping_map_to_uno( ...@@ -71,7 +71,7 @@ void SAL_CALL Mapping_map_to_uno(
{ {
if (0 != *ppUnoI) if (0 != *ppUnoI)
{ {
uno_Interface * p = *(uno_Interface **)ppUnoI; uno_Interface * p = *ppUnoI;
(*p->release)( p ); (*p->release)( p );
*ppUnoI = 0; *ppUnoI = 0;
} }
...@@ -95,7 +95,7 @@ void SAL_CALL Mapping_map_to_uno( ...@@ -95,7 +95,7 @@ void SAL_CALL Mapping_map_to_uno(
uno_Interface * pUnoI = bridge->map_to_uno( jni, javaI, info ); uno_Interface * pUnoI = bridge->map_to_uno( jni, javaI, info );
if (0 != *ppUnoI) if (0 != *ppUnoI)
{ {
uno_Interface * p = *(uno_Interface **)ppUnoI; uno_Interface * p = *ppUnoI;
(*p->release)( p ); (*p->release)( p );
} }
*ppUnoI = pUnoI; *ppUnoI = pUnoI;
......
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