Skip to content

Commit

Permalink
Bugfix: don't deref maybe-none opt to assign to it
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyelewis committed Nov 24, 2017
1 parent f146c8c commit ab0c204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/uni/ssap/ssap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ void cath::run_ssap(const cath_ssap_options &arg_cath_ssap_options, ///< The cat
if (the_ssap_options.get_output_to_file()) {
open_ofstream(file_out_stream, the_ssap_options.get_output_filename());
}
*scores_stream = the_ssap_options.get_output_to_file() ? file_out_stream : arg_stdout;
scores_stream = the_ssap_options.get_output_to_file() ? file_out_stream : arg_stdout;
}

if ( proteins.first.get_length() == 0 || proteins.second.get_length() == 0 ) {
Expand Down

0 comments on commit ab0c204

Please sign in to comment.