Build: Added -Wall,extra,-pedantic, fixed warnings and peeves.

This commit is contained in:
2025-01-10 18:27:10 -04:00
parent ce2d47e6b9
commit 876526364b
10 changed files with 38 additions and 23 deletions
+3
View File
@@ -73,6 +73,7 @@ struct CSenseApiDesc
static bool CSenseApiDesc_sanityCheck(const CSenseApiDesc *desc)
{
(void)CSenseApiDesc_sanityCheck;
if (!desc || !desc->name || desc->numExportedImplexorApis < 1
||!desc->exportedImplexorApis || !desc->sal_mgmt_libOps)
{
@@ -85,6 +86,7 @@ static bool CSenseApiDesc_sanityCheck(const CSenseApiDesc *desc)
static bool CExportedImplexorApiDesc_sanityCheck(
const CExportedImplexorApiDesc *desc)
{
(void)CExportedImplexorApiDesc_sanityCheck;
if (!desc || !desc->name)
{
return false;
@@ -95,6 +97,7 @@ static bool CExportedImplexorApiDesc_sanityCheck(
static bool Csal_mgmt_libOps_sanityCheck(const Csal_mgmt_libOps *ops)
{
(void)Csal_mgmt_libOps_sanityCheck;
if (!ops || !ops->initializeInd || !ops->finalizeInd
|| !ops->attachDeviceReq || !ops->detachDeviceReq)
{