Skip to content

Commit

Permalink
Per #1788, just move some variable definitions further down since the…
Browse files Browse the repository at this point in the history
…y're only used sometimes.
  • Loading branch information
JohnHalleyGotway committed Aug 26, 2021
1 parent bf7b1f4 commit ecc6463
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions met/src/tools/core/stat_analysis/stat_analysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,6 @@ void set_out_file(const char *path) {

void process_search_dirs() {
int n, i, j, max_len, n_read, n_keep;
MetConfig ss_index_conf;
STATAnalysisJob ss_index_job;

//
// Initialize
Expand All @@ -462,6 +460,9 @@ void process_search_dirs() {
if(default_job.job_type == stat_job_go_index ||
default_job.job_type == stat_job_cbs_index) {

MetConfig ss_index_conf;
STATAnalysisJob ss_index_job;

ConcatString config_file =
(default_job.job_type == stat_job_go_index ?
replace_path(go_index_config_file) :
Expand Down

0 comments on commit ecc6463

Please sign in to comment.