mirror of
https://github.com/apache/nuttx.git
synced 2025-12-10 04:04:18 +08:00
Eliminate warnings
This commit is contained in:
2
configs
2
configs
Submodule configs updated: ba2b1db6db...02a07e4dfc
@@ -209,12 +209,12 @@ int main(int argc, char **argv, char **envp)
|
||||
printf("/* If the maximum message size is zero, then we assume that message queues\n");
|
||||
printf(" * support should be disabled\n");
|
||||
printf(" */\n\n");
|
||||
printf("#ifndef CONFIG_MQ_MAXMSGSIZE)\n");
|
||||
printf("# define CONFIG_DISABLE_MQUEUE 0\n");
|
||||
printf("#if !defined(CONFIG_MQ_MAXMSGSIZE) || defined(CONFIG_DISABLE_MQUEUE)\n");
|
||||
printf("# undef CONFIG_MQ_MAXMSGSIZE\n");
|
||||
printf("# define CONFIG_MQ_MAXMSGSIZE 0\n");
|
||||
printf("#endif\n\n");
|
||||
printf("#if CONFIG_MQ_MAXMSGSIZE <= 0 && !defined(CONFIG_DISABLE_MQUEUE)\n");
|
||||
printf("# undef CONFIG_DISABLE_MQUEUE\n");
|
||||
printf("# define CONFIG_DISABLE_MQUEUE 0\n");
|
||||
printf("# define CONFIG_DISABLE_MQUEUE 1\n");
|
||||
printf("#endif\n\n");
|
||||
printf("/* If mountpoint support in not included, then no filesystem can be supported */\n\n");
|
||||
printf("#ifdef CONFIG_DISABLE_MOUNTPOINT\n");
|
||||
|
||||
Reference in New Issue
Block a user