Skip to content

Commit

Permalink
Merge pull request #789 from skliper/fix788-coercion_alters_value
Browse files Browse the repository at this point in the history
Fix #788, Resolve coercion alters value warnings
  • Loading branch information
astrogeco authored Feb 12, 2021
2 parents eab4422 + dd2368d commit e882996
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/os/shared/src/osapi-errors.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static const OS_ErrorTable_Entry_t OS_GLOBAL_ERROR_NAME_TABLE[] = {
*-----------------------------------------------------------------*/
int32 OS_GetErrorName(int32 error_num, os_err_name_t *err_name)
{
uint32 return_code;
int32 return_code;
const OS_ErrorTable_Entry_t *Error;

/* Check parameters */
Expand Down
2 changes: 1 addition & 1 deletion src/os/shared/src/osapi-network.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ int32 OS_NetworkAPI_Init(void)
*-----------------------------------------------------------------*/
int32 OS_NetworkGetHostName(char *host_name, size_t name_len)
{
uint32 return_code;
int32 return_code;

/* Check parameters */
OS_CHECK_POINTER(host_name);
Expand Down

0 comments on commit e882996

Please sign in to comment.