Skip to content

Commit

Permalink
Merge pull request #27 from skliper/fix26-static_analysis_style
Browse files Browse the repository at this point in the history
Fix #26, Resolve strict cppcheck style warnings
  • Loading branch information
astrogeco authored May 11, 2022
2 parents 64b4f8d + efeb5ba commit 8759384
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions fsw/src/lc_cmds.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ void LC_ResetCounters(void);
* \par Assumptions, External Events, and Notes:
* None
*
* \param [in] StartIndex Start of area to reset (base zero)
* \param [in] EndIndex End of area to reset (base zero)
* \param [in] ResetCmd Reset AP stats command does not reset all fields
* \param [in] StartIndex Start of area to reset (base zero)
* \param [in] EndIndex End of area to reset (base zero)
* \param [in] ResetStatsCmd Reset AP stats command does not reset all fields
*
* \sa #LC_ResetAPStatsCmd
*/
void LC_ResetResultsAP(uint32 StartIndex, uint32 EndIndex, bool ResetCmd);
void LC_ResetResultsAP(uint32 StartIndex, uint32 EndIndex, bool ResetStatsCmd);

/**
* \brief Reset WP results
Expand All @@ -94,13 +94,13 @@ void LC_ResetResultsAP(uint32 StartIndex, uint32 EndIndex, bool ResetCmd);
* \par Assumptions, External Events, and Notes:
* None
*
* \param [in] StartIndex Start of area to reset (base zero)
* \param [in] EndIndex End of area to reset (base zero)
* \param [in] ResetCmd Reset WP stats command does not reset all fields
* \param [in] StartIndex Start of area to reset (base zero)
* \param [in] EndIndex End of area to reset (base zero)
* \param [in] ResetStatsCmd Reset WP stats command does not reset all fields
*
* \sa #LC_ResetWPStatsCmd
*/
void LC_ResetResultsWP(uint32 StartIndex, uint32 EndIndex, bool ResetCmd);
void LC_ResetResultsWP(uint32 StartIndex, uint32 EndIndex, bool ResetStatsCmd);

/**
* \brief Sample actionpoints request
Expand Down
2 changes: 1 addition & 1 deletion fsw/src/lc_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ int32 LC_UpdateTaskCDS(void)

int32 LC_PerformMaintenance(void)
{
int32 Result = CFE_SUCCESS;
int32 Result;

/*
** Manage tables - allow cFE to perform dump, update, etc.
Expand Down

0 comments on commit 8759384

Please sign in to comment.