Commit d8cd0d64 authored by Jan Kiene's avatar Jan Kiene
Browse files

port changes from MR 2191

parent 000b4267
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1743,9 +1743,11 @@ int16_t is_numeric_float(
    float x )
{
#ifdef CODE_IMPROVEMENTS
    int16_t retval;
#define WMC_TOOL_SKIP
    return (int16_t) ( !isnan( x ) && !isinf( x ) );
    retval = (int16_t) ( !isnan( x ) && !isinf( x ) );
#undef WMC_TOOL_SKIP
    return retval;
#else
    union float_int
    {
+6 −3
Original line number Diff line number Diff line
@@ -3391,11 +3391,14 @@ static void *getInputByIndex(
        case IVAS_REND_AUDIO_CONFIG_TYPE_MASA:
            return (input_masa *) inputsArray + index;
        default:
            break;
    }
    /* this should be unreachable */
    assert( 0 );

    /* include a final return to make the linter happy and avoid problems with wmc_tool (see #1355) */
    return NULL;
}
}
#endif

static ivas_error findFreeInputSlot(