Skip to content

Commit

Permalink
Merge pull request #3630 from knelli2/profile_unused_var
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsvu authored Oct 31, 2021
2 parents cc269a2 + 65b86b5 commit c8fa56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parallel/MaxInlineMethodsReached.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ namespace Parallel::detail {
// Allow 64 inline entry method calls before we fall back to Charm++. This is
// done to avoid blowing the stack.
inline bool max_inline_entry_methods_reached() {
thread_local size_t approx_stack_depth = 0;
#ifndef SPECTRE_PROFILING
thread_local size_t approx_stack_depth = 0;
approx_stack_depth++;
if (approx_stack_depth < 64) {
return false;
Expand Down

0 comments on commit c8fa56f

Please sign in to comment.