unit: do not shadow global 'text' variable (-Wshadow)
Fix -Wshadow warning:
unit/test-ndef-parse.c: In function ‘test_ndef_title_sp’:
unit/test-ndef-parse.c:194:33: error: declaration of ‘text’ shadows a global declaration [-Werror=shadow]
194 | struct near_ndef_text_payload *text;
| ^~~~
unit/test-ndef-parse.c:42:16: note: shadowed declaration is here
42 | static uint8_t text[] = {0xd1, 0x1, 0x13, 0x54, 0x5, 0x65, 0x6e, 0x2d,
| ^~~~
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
1 file changed