remove dead code and reduce trivial compiler warnings (clang++)

This commit is contained in:
Axel Kohlmeyer
2017-03-27 14:28:50 -04:00
parent 3dfe4505dd
commit c041727e4f
18 changed files with 34 additions and 49 deletions

View File

@ -1449,7 +1449,7 @@ void CommTiled::box_drop_brick(int idim, double *lo, double *hi, int &indexme)
// NOTE: these error messages are internal sanity checks
// should not occur, can be removed at some point
int index,dir;
int index=-1,dir;
if (hi[idim] == sublo[idim]) {
index = myloc[idim] - 1;
dir = -1;