[Kst] branches/work/kst/portto4/kst/src/libkstmath
Mike Fenton
mike at staikos.net
Wed Nov 26 22:04:55 CET 2008
SVN commit 889447 by fenton:
Fix warnings.
M +1 -2 enodes.cpp
M +1 -1 eparse-eh.cpp
M +0 -1 eparse-eh.h
--- branches/work/kst/portto4/kst/src/libkstmath/enodes.cpp #889446:889447
@@ -449,8 +449,7 @@
Kst::Object::UpdateType Function::update(Context *ctx) {
- Kst::Object::UpdateType ut = _args->update(ctx);
-
+ _args->update(ctx);
return Kst::Object::NO_CHANGE;
}
--- branches/work/kst/portto4/kst/src/libkstmath/eparse-eh.cpp #889446:889447
@@ -26,7 +26,6 @@
KST_EXPORT QStringList errorStack;
}
-static const char *EParseErrorUnknown = I18N_NOOP("parse error"); // from bison
/*extern "C"*/ const char *EParseErrorEmpty = I18N_NOOP("Equations is empty.");
/*extern "C"*/ const char *EParseErrorEmptyArg = I18N_NOOP("Function argument is empty.");
/*extern "C"*/ const char *EParseErrorTwoOperands = I18N_NOOP("Two operands are required.");
@@ -48,6 +47,7 @@
/*extern "C"*/ void yyerror(Kst::ObjectStore *store, const char *s) {
+ Q_UNUSED(store)
Equations::errorStack << i18n(s);
}
--- branches/work/kst/portto4/kst/src/libkstmath/eparse-eh.h #889446:889447
@@ -45,7 +45,6 @@
int yyErrorCount();
- extern const char *EParseErrorUnknown;
extern const char *EParseErrorEmpty;
extern const char *EParseErrorEmptyArg;
extern const char *EParseErrorTwoOperands;
More information about the Kst
mailing list