Skip to content

Rule-6-7-1: Incorrectly stated static local variable #1156

Description

@MichaelRFairhurst

Affected rules

  • RULE-6-7-1

Description

We have findings in a QLX pull request that there are local static variables where that is simply not the case.

Example

   template <typename BufferSource, typename... SpecArgs>
    auto make_single_batcher(qlx::Table &result, qlx::Table &input, SpecArgs... spec_args) {
        return BatchWrites(std::make_tuple(BufferSource{input, spec_args...}), &result);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    false positive/false negativeAn issue related to observed false positives or false negatives.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions