Build: Added -Wall,extra,-pedantic, fixed warnings and peeves.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user