FIX_BASOP_2563_CRASH_HQ_GENERIC_DEC not active or cleaned properly
# Basic info
<!--- Add commit SHA used to reproduce -->
- Fixed point:
- Encoder (fixed): c88b5452e21c5f7eb6d4aa58a572d6556cd50a59
- Decoder (fixed): c88b5452e21c5f7eb6d4aa58a572d6556cd50a59
# Bug description
Running with internal sample into a crash (EXC_BAD_ACCESS instead of assert), I noticed that there is some code where the switch is not properly cleaned. See below:
```
Word16 shr( Word16 var1, Word16 var2 )
{
#ifdef FIX_BASOP_2563_CRASH_HQ_GENERIC_DEC
Flag Overflow;
Word16 result;
Overflow = 0;
result = shr_o( var1, var2, &Overflow );
if ( Overflow )
{
assert( 0 );
}
return result;
#else
return shr_o( var1, var2, NULL );
#endif
}
```
Code goes currently to else-path. I believe it should be active path.
<!--- Below are labels that will be added but are not shown in description. This is a template to help fill them.
Add further information to the first row and remove and add labels as necessary. -->
issue