Skip to content

Commit d55993a

Browse files
committed
autoformat
1 parent 33165f4 commit d55993a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

cpp/ql/src/Likely Bugs/Conversion/CastArrayPointerArithmetic.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ where
5555
cfg.hasFlowPath(source, sink) and
5656
source.getNode().asExpr().getFullyConverted().getUnspecifiedType() =
5757
sink.getNode().asExpr().getFullyConverted().getUnspecifiedType()
58-
select sink, source, sink,
59-
"This pointer arithmetic may be done with the wrong type because of $@.", source, "this cast"
58+
select sink, source, sink, "This pointer arithmetic may be done with the wrong type because of $@.",
59+
source, "this cast"

cpp/ql/src/Likely Bugs/Conversion/LossyFunctionResultCast.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,4 @@ where
4949
c.hasImplicitConversion() and
5050
not whiteListWrapped(c)
5151
select c,
52-
"Return value of type " + t1.toString() + " is implicitly converted to " + t2.toString() +
53-
"."
52+
"Return value of type " + t1.toString() + " is implicitly converted to " + t2.toString() + "."

0 commit comments

Comments
 (0)