Skip to content

Commit 91027c9

Browse files
committed
fix formatting
1 parent 6864e3a commit 91027c9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎c/cert/src/rules/STR30-C/DoNotAttemptToModifyStringLiterals.ql‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ import semmle.code.cpp.dataflow.new.DataFlow
2323

2424
/** A modeled buffer write through the first argument of a library call. */
2525
private class ModifiesFirstArgFunction extends BufferWrite, FunctionCall {
26-
ModifiesFirstArgFunction() {
27-
getTarget().getName() = ["mkstemp", "memset", "memcpy", "memmove"]
28-
}
26+
ModifiesFirstArgFunction() { getTarget().getName() = ["mkstemp", "memset", "memcpy", "memmove"] }
2927

3028
override Type getBufferType() { none() }
3129

0 commit comments

Comments
 (0)