initialize 'nper'

This commit is contained in:
Axel Kohlmeyer 2016-11-11 07:47:42 -05:00
parent 72b0841b28
commit c5c8c50e97
1 changed files with 2 additions and 0 deletions

View File

@ -164,6 +164,8 @@ void Universe::add_world(char *str)
char *ptr;
n = 1;
nper = 0;
if (str != NULL) {
// check for valid partition argument