unit: do not shadow global 'uri' variable (-Wshadow)
Fix -Wshadow warnings like:
unit/test-ndef-parse.c: In function ‘test_ndef_single_sp’:
unit/test-ndef-parse.c:291:32: error: declaration of ‘uri’ shadows a global declaration [-Werror=shadow]
291 | struct near_ndef_uri_payload *uri;
| ^~~
unit/test-ndef-parse.c:145:16: note: shadowed declaration is here
145 | static uint8_t uri[] = {0xd1, 0x1, 0xa, 0x55, 0x1, 0x69, 0x6e, 0x74,
| ^~~
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
1 file changed