Skip to content
Snippets Groups Projects
Commit bd566b77 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Address GCC warnings recently introduced by not defining bbs_options in jsexec

parent eb079918
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1431 passed
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include <termios.h> #include <termios.h>
#endif #endif
#define STARTUP_INI_BITDESC_TABLES #define STARTUP_INI_JSOPT_BITDESC_TABLE
#include "sbbs.h" #include "sbbs.h"
#include "ciolib.h" #include "ciolib.h"
#include "ini_file.h" #include "ini_file.h"
......
...@@ -212,6 +212,13 @@ static ini_bitdesc_t bbs_options[] = { ...@@ -212,6 +212,13 @@ static ini_bitdesc_t bbs_options[] = {
{ 0 ,NULL } { 0 ,NULL }
}; };
#ifndef STARTUP_INI_JSOPT_BITDESC_TABLE
#define STARTUP_INI_JSOPT_BITDESC_TABLE
#endif
#endif
#ifdef STARTUP_INI_JSOPT_BITDESC_TABLE
static ini_bitdesc_t js_options[] = { static ini_bitdesc_t js_options[] = {
{ 1<<0 ,"STRICT" }, { 1<<0 ,"STRICT" },
...@@ -227,7 +234,6 @@ static ini_bitdesc_t js_options[] = { ...@@ -227,7 +234,6 @@ static ini_bitdesc_t js_options[] = {
/* terminator */ /* terminator */
{ 0 ,NULL } { 0 ,NULL }
}; };
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment