--- trunk/OOPSE/libmdtools/DUFF.cpp 2003/08/27 16:16:01 727 +++ trunk/OOPSE/libmdtools/DUFF.cpp 2003/09/25 19:27:15 787 @@ -454,7 +454,6 @@ DUFF::DUFF(){ char* ffPath_env = "FORCE_PARAM_PATH"; char* ffPath; char temp[200]; - char errMsg[1000]; headAtomType = NULL; currentAtomType = NULL; @@ -658,12 +657,7 @@ void DUFF::readParams( void ){ void DUFF::readParams( void ){ - int i, a, b, c, d; int identNum; - char* atomA; - char* atomB; - char* atomC; - char* atomD; atomStruct atomInfo; bondStruct bondInfo; @@ -785,7 +779,6 @@ void DUFF::readParams( void ){ int isGB = 0; int isLJ = 1; int isEAM =0; - double GB_dummy = 0.0; currentAtomType = headAtomType->next;; while( currentAtomType != NULL ){ @@ -1638,7 +1631,7 @@ int DUFF_NS::parseBond( char *lineBuffer, int lineNum, else{ sprintf( painCave.errMsg, "Unknown DUFF bond type \"%s\" at line %d\n", - info.type, + bondType, lineNum ); painCave.isFatal = 1; simError();