diff --git a/LNOTES b/LNOTES index 3d87f433eb5546bc35f78149d7a8b49bf7e1cb76..8630335170fb04c02cb0a77d3bb46d0edf9c4050 100644 --- a/LNOTES +++ b/LNOTES @@ -1,7 +1,5 @@ - Known LOG bugs. "*" = supposedly fixed, not yet tested. - logsimh appears to be causing bus errors, just before the instance would have become active. Name was "P". @@ -67,7 +65,6 @@ Known LOG bugs. "*" = supposedly fixed, not yet tested. Go through and check out every p2c warning message! - ======================================================================== In Unix, the timestep memory limit of the Scope screen should be @@ -78,17 +75,3 @@ Known LOG bugs. "*" = supposedly fixed, not yet tested. Can't throw gates off the sides of the window. ======================================================================== - - - - - - - - - - - - - - diff --git a/src/ana/inter.c b/src/ana/inter.c index 9ad454be3f5ea97b393fde2a94a1a59dd5c21359..c4c8d549ab73aaaf1de566e2f4c8a73f2b0b8828 100644 --- a/src/ana/inter.c +++ b/src/ana/inter.c @@ -23,17 +23,12 @@ the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Output from p2c, the Pascal-to-C translator */ /* From input file "inter.text" */ - - - #include <utils/p2c.h> - #define INTER_G #include "ana/inter.h" #include "node.h" - static void log_histinit_32(log_action_t *Globals, int Voltage) { if (Voltage) { @@ -586,7 +581,7 @@ static void log_history_32(log_action_t *Globals, int Voltage) } -static void log_histval_32(log_action_t *Globals, int Voltage) +static void log_histval_32(log_action_t *Globals, int __attribute__((unused)) Voltage) { switch (Globals->actgattr[AnaH_Method - 1].UU.nv) { @@ -693,9 +688,7 @@ static void log_histstr_32(log_action_t *Globals, int Voltage) #undef Value #undef Slope - - -static void log_configchhist_32(log_action_t *Globals, int voltage) +static void log_configchhist_32(log_action_t *Globals, int __attribute__((unused)) voltage) { Globals->actflag = true; switch (Globals->actx) { @@ -736,7 +729,7 @@ static void log_configchhist_32(log_action_t *Globals, int voltage) -static void log_confighist_32(log_action_t *Globals, int voltage) +static void log_confighist_32(log_action_t *Globals, int __attribute__((unused)) voltage) { if (!Globals->histactive && !Globals->actgattr[AnaH_Present - 1].blnk) { Globals->actgattr[AnaH_Present - 1].blnk = true; diff --git a/src/ana/numbers.c b/src/ana/numbers.c index 458dc29a7ff32c0df7b36db4772021bc95f45b97..393d46c11be08f964d2b2f64e02dd2c1e8d89751 100644 --- a/src/ana/numbers.c +++ b/src/ana/numbers.c @@ -23,13 +23,10 @@ the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Output from p2c, the Pascal-to-C translator */ /* From input file "tools.text" */ - - #include <utils/p2c.h> #include "ana/numbers.h" #include "log_action.h" - #define TitleX (-80) #define InfoX (-49) #define Line1Y 41 @@ -41,7 +38,6 @@ the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define GateName "anaLOG status" - typedef struct NumbersConst { char OldMessScoreboard[256], OldMessNode[256], OldMessGate1[256], OldMessGate2[256], OldMessGate3[256], OldMessGate4[256], @@ -332,7 +328,7 @@ static void Readgate_Numbers(Analog_32_action *act) } -static void Writegate_Numbers(Analog_32_action *act) +static void Writegate_Numbers(Analog_32_action __attribute__((unused)) *act) { fprintf(*AnaLogglobals->actfile, "%s\n", AnaErase ? " TRUE" : "FALSE"); fprintf(*AnaLogglobals->actfile, "%s\n", AnaExact ? " TRUE" : "FALSE"); @@ -929,11 +925,9 @@ static void Dispose_Numbers(Analog_32_action *act) } -static void Touch_Numbers(Analog_32_action *act) +static void Touch_Numbers(Analog_32_action __attribute__((unused)) *act) { - log_action_t *WITH; - - WITH = AnaLogglobals; + log_action_t *WITH = AnaLogglobals; if (WITH->actx >= -2 && WITH->actx <= 2 && WITH->actx <= 5 && WITH->actx >= -5) return; WITH->actflag = true; @@ -965,7 +959,7 @@ static void Touch_Numbers(Analog_32_action *act) } -static void Probe_Numbers(Analog_32_action *act) +static void Probe_Numbers(Analog_32_action __attribute__((unused)) *act) { char dtstr[256]; char STR2[264]; // Attention pas sûr que ce correctif soit bien