# HG changeset patch # User Daniele Nicolodi # Date 1390398323 -3600 # Node ID 09a4548e1436aed7c8358524b7c8d491d4cfc914 # Parent fd085d61e4cabebb585e6af17d47201229975886 Remove unused variables from math experessions initialization diff -r fd085d61e4ca -r 09a4548e1436 FXAnalyse.c --- a/FXAnalyse.c Wed Jan 22 14:45:23 2014 +0100 +++ b/FXAnalyse.c Wed Jan 22 14:45:23 2014 +0100 @@ -439,7 +439,6 @@ mupDefineOprtChars(parser, "abcdefghijklmnopqrstuvwxyzµ" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "+-*^/?<>=#!$%&|~'_"); - mupDefineVar(parser, "UTC", &utc); mupDefineVar(parser, "Ch1", &Ch1); mupDefineVar(parser, "Ch2", &Ch2); mupDefineVar(parser, "Ch3", &Ch3); @@ -451,9 +450,6 @@ mupDefineVar(parser, "N1", &N1); mupDefineVar(parser, "N2", &N2); mupDefineVar(parser, "N3", &N3); - mupDefineVar(parser, "Nu1", &Nu1); - mupDefineVar(parser, "Nu2", &Nu2); - mupDefineVar(parser, "DeltaDDS3", &DeltaDDS3); mupDefineVar(parser, "Sign1", &Sign1); mupDefineVar(parser, "Sign2", &Sign2); mupDefineVar(parser, "Sign3", &Sign3); @@ -521,14 +517,12 @@ MathParser2 = initMathParser(); mupDefineVar(MathParser2, "Math1", &Math1); - mupDefineVar(MathParser2, "DDS", &(DDS4xAD9912.frequency[0])); GetCtrlVal(MainPanel, PANEL_MATHSTRING2, expr); mupSetExpr(MathParser2, expr); MathParser3 = initMathParser(); mupDefineVar(MathParser3, "Math1", &Math1); mupDefineVar(MathParser3, "Math2", &Math2); - mupDefineVar(MathParser3, "DDS", &(DDS4xAD9912.frequency[1])); GetCtrlVal(MainPanel, PANEL_MATHSTRING3, expr); mupSetExpr(MathParser3, expr);