Commit 9d63df44 authored by Fabian Müller's avatar Fabian Müller
Browse files

Merge branch 'muellefn/fix-regression-from-fixes' into 'main'

Fix regressions introduced in !2132

See merge request !2191
parents 16fd2911 2417d354
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
#ifndef BASOP_NOGLOB
    union float_int
+7 −3
Original line number Diff line number Diff line
@@ -3308,11 +3308,15 @@ 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(