Skip to content

Fix#2388, Revert "Merge pull request #2356 from CDKnightNASA/fix-2316-time_fmt"#2389

Merged
dzbaker merged 1 commit into
mainfrom
Fix2388
Jun 26, 2023
Merged

Fix#2388, Revert "Merge pull request #2356 from CDKnightNASA/fix-2316-time_fmt"#2389
dzbaker merged 1 commit into
mainfrom
Fix2388

Conversation

@dzbaker

@dzbaker dzbaker commented Jun 26, 2023

Copy link
Copy Markdown
Collaborator

Checklist (Please check before submitting)

Describe the contribution
Reverts #2356

Testing performed
N/A

Expected behavior changes
#2315 is removed.

System(s) tested on
N/A

Contributor Info - All information REQUIRED for consideration of pull request
Dylan Z. Baker - NASA GSFC

…-time_fmt"

This reverts commit 7c27c0e, reversing
changes made to b5b90b4.
*
*-----------------------------------------------------------------*/
CFE_Status_t CFE_TIME_Print(char *PrintBuffer, CFE_TIME_SysTime_t TimeToPrint)
void CFE_TIME_Print(char *PrintBuffer, CFE_TIME_SysTime_t TimeToPrint)

Check notice

Code scanning / CodeQL

Long function without assertion

All functions of more than 10 lines should have at least one assertion.
*
*-----------------------------------------------------------------*/
CFE_Status_t CFE_TIME_Print(char *PrintBuffer, CFE_TIME_SysTime_t TimeToPrint)
void CFE_TIME_Print(char *PrintBuffer, CFE_TIME_SysTime_t TimeToPrint)

Check notice

Code scanning / CodeQL

Function too long

CFE_TIME_Print has too many lines (145, while 60 are allowed).
if (PrintBuffer == NULL)
{
return CFE_TIME_BAD_ARGUMENT;
CFE_ES_WriteToSysLog("%s: Failed invalid arguments\n", __func__);

Check warning

Code scanning / CodeQL

Uses of recursion

The function CFE_TIME_Print is indirectly recursive via this call to [CFE_ES_WriteToSysLog](1).
* ----------------------------------------------------
*/
CFE_Status_t CFE_TIME_Print(char *PrintBuffer, CFE_TIME_SysTime_t TimeToPrint)
void CFE_TIME_Print(char *PrintBuffer, CFE_TIME_SysTime_t TimeToPrint)

Check notice

Code scanning / CodeQL

Long function without assertion

All functions of more than 10 lines should have at least one assertion.
* ----------------------------------------------------
*/
CFE_Status_t CFE_TIME_Print(char *PrintBuffer, CFE_TIME_SysTime_t TimeToPrint)
void CFE_TIME_Print(char *PrintBuffer, CFE_TIME_SysTime_t TimeToPrint)

Check notice

Code scanning / CodeQL

Function too long

CFE_TIME_Print has too many lines (145, while 60 are allowed).
@dzbaker dzbaker added CCB:Ready Ready for discussion at the Configuration Control Board (CCB) CCB:FastTrack labels Jun 26, 2023
@dzbaker dzbaker merged commit 600a209 into main Jun 26, 2023
@dmknutsen dmknutsen added this to the Equuleus milestone Aug 3, 2023
@jphickey jphickey deleted the Fix2388 branch January 17, 2024 13:45
@dzbaker dzbaker modified the milestones: Equuleus, v7.0.0 Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CCB:FastTrack CCB:Ready Ready for discussion at the Configuration Control Board (CCB) Equuleus-rc1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Push off PR #2356 to Equuleus-rc2

3 participants