Remove unnecessary local variable in kdbus tests 64/270264/1 submit/tizen/20220127.090529
authorHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 27 Jan 2022 08:25:22 +0000 (17:25 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 27 Jan 2022 08:25:47 +0000 (17:25 +0900)
commit99ca25e6c1d7057cd6cd39609bb1a9e3d9e9ca1d
tree68b3f58204d21adda3ace2f085d38113e3aace87
parent970cd407e2736c4c59774dd657a1a065f2978027
Remove unnecessary local variable in kdbus tests

[  230s] kdbus-test.c: In function 'main':
[  230s] kdbus-test.c:972:31: error: declaration of 't' shadows a previous local [-Werror=shadow]
[  230s]   972 |      const struct kdbus_test *t = &tests[i];
[  230s]       |                               ^
[  230s] kdbus-test.c:892:6: note: shadowed declaration is here
[  230s]   892 |  int t, ret = 0;
[  230s]       |      ^
[  230s] cc1: all warnings being treated as errors

Change-Id: I688feaa00630509363718f2d871adec3c2b951c7
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
tests/kdbus/kdbus-test.c