examples/elf: Fix error: unused variable 'desc' [-Werror=unused-variable]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
f0c044adb1
commit
e25a303a73
@ -202,11 +202,13 @@ int main(int argc, FAR char *argv[])
|
|||||||
{
|
{
|
||||||
#ifdef CONFIG_EXAMPLES_ELF_FSREMOVEABLE
|
#ifdef CONFIG_EXAMPLES_ELF_FSREMOVEABLE
|
||||||
struct stat buf;
|
struct stat buf;
|
||||||
|
#endif
|
||||||
|
#ifdef CONFIG_EXAMPLES_ELF_ROMFS
|
||||||
|
struct boardioc_romdisk_s desc;
|
||||||
#endif
|
#endif
|
||||||
FAR char *args[1];
|
FAR char *args[1];
|
||||||
int ret;
|
int ret;
|
||||||
int i;
|
int i;
|
||||||
struct boardioc_romdisk_s desc;
|
|
||||||
|
|
||||||
/* Initialize the memory monitor */
|
/* Initialize the memory monitor */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user