add missing return statements

This commit is contained in:
Axel Kohlmeyer
2020-07-07 11:14:52 -04:00
parent 169206790a
commit bdac1ae3e7

View File

@ -476,6 +476,7 @@ int AtomVecHybrid::size_data_bonus_query(int flag)
// if (flag == BODY && strcmp(keywords[k],"body") == 0) // if (flag == BODY && strcmp(keywords[k],"body") == 0)
// return styles[k]->size_data_bonus; // return styles[k]->size_data_bonus;
} }
return 0;
} }
/* ---------------------------------------------------------------------- /* ----------------------------------------------------------------------
@ -493,6 +494,7 @@ int AtomVecHybrid::pack_data_bonus(double **buf, int flag)
if (flag == TRIANGLE && strcmp(keywords[k],"tri") == 0) if (flag == TRIANGLE && strcmp(keywords[k],"tri") == 0)
return styles[k]->pack_data_bonus(buf,flag); return styles[k]->pack_data_bonus(buf,flag);
} }
return 0;
} }
/* ---------------------------------------------------------------------- /* ----------------------------------------------------------------------