Commit 523978b4 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

dead code and uninitialized variables detected by clang

parent 77efd3df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -364,7 +364,7 @@ void PairEDIPMulti::edip_fc(double r, Param *param, double &f, double &fdr)
  double c = param->cutoffC;
  double alpha = param->alpha;
  double x;
  double v1, v2, v3;
  double v1, v2;

  if(r < c + 1E-6)
  {
+1 −0
Original line number Diff line number Diff line
@@ -1700,6 +1700,7 @@ void PairLJLongTIP4PLongOMP::eval_outer(int iifrom, int iito, ThrData * const th
    jnum = numneigh[i];
    offseti = offset[itype];
    lj1i = lj1[itype]; lj2i = lj2[itype]; lj3i = lj3[itype]; lj4i = lj4[itype];
    fxtmp = fytmp = fztmp = 0.0;

    for (jj = 0; jj < jnum; jj++) {
      j = jlist[jj];