Skip to content

Commit e1d891b

Browse files
authored
Merge pull request #9587 from naveenkaje/fix_build_warning_QUECTEL
targets: QUECTEL: Fix build warning
2 parents 26751ee + 08c9ae3 commit e1d891b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/cellular/framework/targets/QUECTEL/M26/QUECTEL_M26_CellularStack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,10 @@ nsapi_size_or_error_t QUECTEL_M26_CellularStack::socket_sendto_impl(CellularSock
361361
const void *data, nsapi_size_t size)
362362
{
363363
int sent_len = (size > M26_SENT_BYTE_MAX) ? M26_SENT_BYTE_MAX : size;
364-
int sent_acked = 0;
365364
int sent_nacked = 0;
366365
int sent_len_before = 0;
367366
int sent_len_after = 0;
367+
int sent_acked;
368368
nsapi_error_t error;
369369

370370
tr_debug("QUECTEL_M26_CellularStack:%s:%u:[%d-%d]", __FUNCTION__, __LINE__, sent_len, size);

0 commit comments

Comments
 (0)