mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Merge pull request #4606: FIX(plugin): initialize array to prevent warning
When building on CentOS 8 with default flags which includes Wall flag, build stops because array n[3] is not initialized. Initialize it to have all values to be zero.
This commit is contained in:
commit
bc76ecbd1a
@ -62,7 +62,7 @@ static void norm(float *a) {
|
||||
}
|
||||
|
||||
static bool correctFront(float *front, float *top) {
|
||||
float n[3];
|
||||
float n[3] = {0};
|
||||
|
||||
if (top[1] < 0) {
|
||||
front[0] *= -1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user