Skip to content

Commit

Permalink
Fixed compiler warning messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
di-shi committed Nov 15, 2024
1 parent 4cb9738 commit 048beb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/osp/ospasn1.h
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ extern "C" {
int OSPPASN1AlgorithmIdEncode(OSPTASN1OBJECT **ospvAlgorithIdObject, OSPEASN1ID ospvAlgorithmIdCode, OSPEASN1DATAREFID ospvDataRefId);
void PTPResultUpdateDataRef(unsigned char ospvDataRef, OSPTASN1PARSERESULT *ospvParseResult);
int PTPDataRefIdGetValue(OSPEASN1DATAREFID ospvDataRefId, unsigned char **ospvDataRefIdValue);
int PTPDataRefAddRef(unsigned char ospvDataReference[OSPC_ASN1_DATAREF_MAXLENGTH], unsigned char ospvNewReference);
int PTPDataRefAddRef(unsigned char ospvDataReference[], unsigned char ospvNewReference);

/*
* If primitive can be a list (max >= 1), then all peers of this element should be the same element and should all be
Expand Down
6 changes: 3 additions & 3 deletions test/test_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -957,14 +957,14 @@ int testOSPPTransactionGetNextDestination()

void testFreeCallIds()
{
register int i = 0;
int i = 0;
for (i = 0; i < NUM_CALL_IDS; i++)
OSPPCallIdDelete(&(callids[i]));
}

int testInitializeCallIds()
{
register int i = 0;
int i = 0;
int errcode = 0;

unsigned char *val[NUM_CALL_IDS] = {
Expand Down Expand Up @@ -3282,7 +3282,7 @@ int testAPI(int apinumber)

int testTestCalls()
{
register int i = 0, j = 0;
int i = 0, j = 0;
int errcode = OSPC_ERR_NO_ERROR;
time_t start_time, end_time;
time_t start_time2, end_time2;
Expand Down

0 comments on commit 048beb1

Please sign in to comment.