Kaydet (Commit) 35f8f293 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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

Change-Id: I10dfaab18f39df8766718370d0bee6c9e41d1a42
üst 6e669463
...@@ -2088,7 +2088,7 @@ static void *yy_flex_alloc( size ) ...@@ -2088,7 +2088,7 @@ static void *yy_flex_alloc( size )
yy_size_t size; yy_size_t size;
#endif #endif
{ {
return (void *) malloc( size ); return malloc( size );
} }
#ifdef YY_USE_PROTOS #ifdef YY_USE_PROTOS
...@@ -2106,7 +2106,7 @@ yy_size_t size; ...@@ -2106,7 +2106,7 @@ yy_size_t size;
* any pointer type to void*, and deal with argument conversions * any pointer type to void*, and deal with argument conversions
* as though doing an assignment. * as though doing an assignment.
*/ */
return (void *) realloc( ptr, size ); return realloc( ptr, size );
} }
#ifdef YY_USE_PROTOS #ifdef YY_USE_PROTOS
......
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