-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix#2388, Revert "Merge pull request #2356 from CDKnightNASA/fix-2316-time_fmt" #2389
Conversation
@@ -565,30 +563,150 @@ | |||
* See description in header file for argument/return detail | |||
* | |||
*-----------------------------------------------------------------*/ | |||
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
@@ -565,30 +563,150 @@ | |||
* See description in header file for argument/return detail | |||
* | |||
*-----------------------------------------------------------------*/ | |||
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
|
||
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
@@ -305,16 +305,12 @@ | |||
* Generated stub function for CFE_TIME_Print() | |||
* ---------------------------------------------------- | |||
*/ | |||
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
@@ -305,16 +305,12 @@ | |||
* Generated stub function for CFE_TIME_Print() | |||
* ---------------------------------------------------- | |||
*/ | |||
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
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