diff --git a/cpp/ql/src/Likely Bugs/Format/NonConstantFormat.ql b/cpp/ql/src/Likely Bugs/Format/NonConstantFormat.ql index 1728f034141..52d59c36535 100644 --- a/cpp/ql/src/Likely Bugs/Format/NonConstantFormat.ql +++ b/cpp/ql/src/Likely Bugs/Format/NonConstantFormat.ql @@ -79,7 +79,7 @@ predicate isNonConst(DataFlow::Node node) { // The function's output must also not be const to be considered a non-const source exists(Function func, CallInstruction call | // NOTE: could use `Call` getAnArgument() instead of `CallInstruction` but requires two - // variables representing the same call. + // variables representing the same call in ordoer to use `callOutput` below. exists(Expr arg | call.getPositionalArgumentOperand(_).getDef().getUnconvertedResultExpression() = arg and arg = node.asDefiningArgument() )