Skip to content

Commit

Permalink
Fix warning when building with -Wextra (and -Wno-unused-parameter)
Browse files Browse the repository at this point in the history
Signed-off-by: Reto Schneider <[email protected]>
  • Loading branch information
rettichschnidi committed Nov 4, 2020
1 parent 837dce9 commit e466eb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/bootstrap_server/bootstrap_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static int prv_find_next_section(FILE * fd,
{
if (line[0] == '[')
{
int i;
size_t i;

length = strlen(line);
i = 1;
Expand Down
2 changes: 1 addition & 1 deletion examples/client/object_access_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ static uint8_t prv_write_resources(uint16_t instanceId, int numData,
acc_ctrl_ri_t* acValListSave = accCtrlOiP->accCtrlValList;
accCtrlOiP->accCtrlValList = NULL;

int ri;
size_t ri;
lwm2m_data_t* subTlvArray = tlvArray[i].value.asChildren.array;

if (tlvArray[i].value.asChildren.count == 0)
Expand Down

0 comments on commit e466eb9

Please sign in to comment.