Skip to content

Commit

Permalink
Static analysis fix for F3DAudio.c
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Aug 31, 2023
1 parent 29a7d3a commit c2198fe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/F3DAudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ static inline void CalculateMatrix(
}
}
}
else
else if (curConfig != NULL)
{
listenerToEmitter = VectorScale(emitterToListener, -1.0f);

Expand Down Expand Up @@ -1351,8 +1351,10 @@ static inline void CalculateMatrix(
}
}
}


}
else
{
FAudio_assert(0 && "Config info not found!");
}

/* TODO: add post check to validate values
Expand Down

0 comments on commit c2198fe

Please sign in to comment.