Remove -Wno-unused-value suppression for GCC (#7387)

- Remove '-Wno-unused-value' flag from GCC
- Fixes for resulting errors
- Ignore GCC error on FIR-Filter.cpp

Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
This commit is contained in:
Steve Pham
2022-02-07 13:49:25 -08:00
committed by GitHub
parent e7857120b0
commit 45e347315f
4 changed files with 44 additions and 17 deletions
@@ -21,6 +21,8 @@
#define mallocAligned(sze) _aligned_malloc(sze, 16)
#define freeAligned(ptr) _aligned_free(ptr)
AZ_PUSH_DISABLE_WARNING_GCC("-Wunused-value")
/* ####################################################################################################################
*/
@@ -1279,3 +1281,5 @@ namespace ImageProcessingAtom
FilterImage(filterIndex, filterOp, blurH, blurV, srcImg, srcMip, dstImg, dstMip, srcRect, dstRect);
}
}
AZ_POP_DISABLE_WARNING_GCC