Skip to content

Commit 037bb44

Browse files
thinhnc1975ripatel-fd
authored andcommitted
docs: fix typos
1 parent bc46ad6 commit 037bb44

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

contrib/codeql/dev/MaybeWrongConstPure.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ShouldBePure extends ShouldBeFunc {
3939
}
4040

4141
string directOrNot(Function off) {
42-
/* alternativly we could make this query a path-query */
42+
/* alternatively we could make this query a path-query */
4343
result = "is" and off instanceof RFunc
4444
or
4545
result = "is called by a" and off instanceof ShouldBeFunc

contrib/codeql/nightly/MissingBankEndCall.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ string capTarget(FunctionCall f) {
2020
result = f.getTarget().getName().regexpCapture("fd_bank_((?!.*(?:^|_)end(?:_|$)).+?)_locking_.*", 1)
2121
}
2222

23-
/* required for primitive infite type string (base) to be bound in
23+
/* required for primitive infinite type string (base) to be bound in
2424
forward and backward execution */
2525
string genAll() {
2626
exists(FunctionCall f |

contrib/codeql/nightly/WrongUnused.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ from MarkedUnusedParam p
5050
where p.isOffending() and
5151
not p.isInMacroExpansion() and
5252
included(p.getLocation()) and
53-
not p.getLocation().getFile().getBaseName() = "fd_rpc_service.c" /* lots of unimplmented stubs */
53+
not p.getLocation().getFile().getBaseName() = "fd_rpc_service.c" /* lots of unimplemented stubs */
5454
select p.getLocation(), "Parameter is marked as unused, but is actually used"

0 commit comments

Comments
 (0)