Ignore:
Timestamp:
Apr 10, 2009, 11:28:02 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
a41b50
Parents:
37a050
Message:

removed lots of warnings due to unused variables

This arose due to the code-writes for multiple molecules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/builder.cpp

    r37a050 rbb12e7  
    628628static void ManipulateAtoms(periodentafel *periode, MoleculeListClass *molecules, config *configuration)
    629629{
    630   atom *first, *second, *third, *fourth;
    631   Vector **atoms;
     630  atom *first, *second;
    632631  molecule *mol = NULL;
    633632  Vector x,y,z,n; // coordinates for absolute point in cell volume
    634633  double *factor; // unit factor if desired
    635   double a,b,c;
    636634  double bond, min_bond;
    637635  char choice;  // menu choice char
     
    749747static void ManipulateMolecules(periodentafel *periode, MoleculeListClass *molecules, config *configuration)
    750748{
    751   atom *first, *second, *third, *fourth;
    752   Vector **atoms;
     749  atom *first;
    753750  Vector x,y,z,n; // coordinates for absolute point in cell volume
    754   double a,b,c;
    755751  int j, axis, count, faktor;
    756752  char choice;  // menu choice char
    757   bool valid;
    758753  molecule *mol = NULL;
    759754  element **Elements;
     
    912907{
    913908  char choice;  // menu choice char
    914   bool valid;
    915909  Vector center;
    916910  int nr, count;
    917911  molecule *mol = NULL;
    918   char *molname = NULL;
    919   int length;
    920912
    921913  cout << Verbose(0) << "==========EDIT MOLECULES=====================" << endl;
     
    10301022{
    10311023  char choice;  // menu choice char
    1032   bool valid;
    10331024
    10341025  cout << Verbose(0) << "===========MERGE MOLECULES=====================" << endl;
     
    18911882        molecule *mol = NULL;
    18921883        config configuration;
    1893         double tmp1;
    1894         atom *first, *second;
    18951884        char choice;    // menu choice char
    18961885        Vector x,y,z,n; // coordinates for absolute point in cell volume
    1897         bool valid; // flag if input was valid or not
    18981886        ifstream test;
    18991887        ofstream output;
     
    19011889        char ConfigFileName[MAXSTRINGSIZE];
    19021890        char *ElementsFileName = NULL;
    1903         int Z;
    1904         int j, axis, count, faktor;
     1891        int j;
    19051892
    19061893        // =========================== PARSE COMMAND LINE OPTIONS ====================================
Note: See TracChangeset for help on using the changeset viewer.