Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion inc/scanoss.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#define WFP_LN 4
#define WFP_REC_LN 18

#define SCANOSS_VERSION "5.4.20"
#define SCANOSS_VERSION "5.4.21"

/* Log files */
#define SCAN_LOG "/tmp/scanoss_scan.log"
Expand Down
6 changes: 2 additions & 4 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int scan_min_match_lines = SNIPPETS_DEFAULT_MIN_MATCH_LINES; // Minimum number o
int scan_min_match_hits = SNIPPETS_DEFAULT_MIN_MATCH_HITS; // Minimum number of snippet ID hits to produce a snippet match
int scan_range_tolerance = SNIPPETS_DEFAULT_RANGE_TOLERANCE; // Maximum number of non-matched lines tolerated inside a matching range
bool scan_adjust_tolerance = SNIPPETS_DEFAULT_ADJUST_TOLERANCE; /** Adjust tolerance based on file size */
int scan_ranking_threshold = 0; //enabled, all accepted by default
int scan_ranking_threshold = -1; //disable by defaults
bool scan_honor_file_extension = SNIPPETS_DEFAULT_HONOR_FILE_EXTENSION;

bool lib_encoder_present = false;
Expand Down Expand Up @@ -351,8 +351,7 @@ int main(int argc, char **argv)
case 's':
if (declared_components) printf("Cannot combine -s and -a\n");
declared_components = get_components(optarg);
engine_flags|= ENABLE_HIGH_ACCURACY; //high accuracy is necessary in this mode
break;
break;

case 'b':
ignore_components = get_components(optarg);
Expand Down Expand Up @@ -437,7 +436,6 @@ int main(int argc, char **argv)
break;

case 'd':
engine_flags = engine_flags_cmd_line;
debug_on = true;
scanlog_init();
break;
Expand Down
Loading