Skip to content

Commit

Permalink
Remove unused global variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed Sep 10, 2019
1 parent 1a1e4be commit 8ede1c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/core/debug.cpp
Expand Up @@ -37,8 +37,6 @@
#include "grid.hpp"
#include "integrate.hpp"

int regular_exit = 1;

void check_particle_consistency() {
int n, c;
int cell_part_cnt = 0, ghost_part_cnt = 0, local_part_cnt = 0;
Expand Down
5 changes: 0 additions & 5 deletions src/core/debug.hpp
Expand Up @@ -47,8 +47,3 @@ void print_particle_positions();
void print_particle_forces();

extern int this_node;

/** by setting this variable to 1, a regular exit is
* indicated. In that case, no core dump is generated.
*/
extern int regular_exit;

0 comments on commit 8ede1c7

Please sign in to comment.