Skip to content

Commit 61fba0c

Browse files
Ayush1325nashif
authored andcommitted
tests: subsys: mgmt: mcumgr: smp_client: Fix test
- Do not use uninitialized smp_client for allocations. Signed-off-by: Ayush Singh <ayush@beagleboard.org>
1 parent 4f98eed commit 61fba0c

File tree

1 file changed

+0
-1
lines changed
  • tests/subsys/mgmt/mcumgr/smp_client/src

1 file changed

+0
-1
lines changed

tests/subsys/mgmt/mcumgr/smp_client/src/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ int smp_client_res_cb(struct net_buf *nb, void *user_data)
3232

3333
ZTEST(smp_client, test_buf_alloc)
3434
{
35-
struct smp_client_object smp_client;
3635
struct net_buf *buf[5];
3736

3837
/* Allocate all 4 buffer's and verify that 5th fail */

0 commit comments

Comments
 (0)