]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
common : remove unused local variables (#16140)
authorHaiyue Wang <redacted>
Mon, 22 Sep 2025 08:48:42 +0000 (16:48 +0800)
committerGitHub <redacted>
Mon, 22 Sep 2025 08:48:42 +0000 (11:48 +0300)
commitd05affbab7d1364fa7ac06c03cd33f03235ae840
treeff18f096675af20348c95cfdff0d08d97d21bd64
parent4f324a556caa5be0be2261604ef4aab0faf36eb8
common : remove unused local variables (#16140)

These two local variables 'arg' and 'arg_prefix' have been overriden by:

  1. for (const auto & arg : opt.args)

  2. for (int i = 1; i < argc; i++) {
        const std::string arg_prefix = "--";

        std::string arg = argv[i];
common/arg.cpp