Skip to content

Commit 47528dd

Browse files
committed
C++: Autoformat.
1 parent 588447d commit 47528dd

File tree

1 file changed

+1
-4
lines changed
  • cpp/ql/lib/semmle/code/cpp/models/implementations

1 file changed

+1
-4
lines changed

cpp/ql/lib/semmle/code/cpp/models/implementations/Gets.qll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ private class FgetsFunction extends DataFlowFunction, TaintFunction, ArrayFuncti
6262
override predicate hasSocketInput(FunctionInput input) { input.isParameterDeref(2) }
6363
}
6464

65-
6665
/**
6766
* The standard functions `gets`.
6867
*/
@@ -104,9 +103,7 @@ private class GetsFunction extends DataFlowFunction, TaintFunction, ArrayFunctio
104103
description = "String read by " + this.getName()
105104
}
106105

107-
override predicate hasArrayWithUnknownSize(int bufParam) {
108-
bufParam = 0
109-
}
106+
override predicate hasArrayWithUnknownSize(int bufParam) { bufParam = 0 }
110107

111108
override predicate hasArrayOutput(int bufParam) { bufParam = 0 }
112109
}

0 commit comments

Comments
 (0)