diff options
Diffstat (limited to 'cli/bomtool/main.c')
| -rw-r--r-- | cli/bomtool/main.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cli/bomtool/main.c b/cli/bomtool/main.c index 106820a41230..a41502e5a0cf 100644 --- a/cli/bomtool/main.c +++ b/cli/bomtool/main.c @@ -38,7 +38,6 @@ static const char *creation_time = NULL; static pkgconf_client_t pkg_client; static uint64_t want_flags; -static size_t maximum_package_count = 0; static int maximum_traverse_depth = 2000; static FILE *error_msgout = NULL; static FILE *sbom_out = NULL; @@ -458,12 +457,6 @@ main(int argc, char *argv[]) if (package == NULL) break; - /* check if there is a limit to the number of packages allowed to be included, if so and we have hit - * the limit, stop adding packages to the queue. - */ - if (maximum_package_count > 0 && pkgq.length > maximum_package_count) - break; - while (isspace((unsigned char)package[0])) package++; |
