Skip to content

Commit 7e9a9e3

Browse files
committed
python: remove compiler warnings
1 parent a0e79c1 commit 7e9a9e3

File tree

4 files changed

+0
-24
lines changed

4 files changed

+0
-24
lines changed

python/ql/lib/downgrades/503c0516fba2e5da9570f00eb34ef43025ecb8fb/py_exprs.ql

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ class Location extends @location {
66
locations_ast(this, _, result, _, _, _)
77
}
88

9-
/** Gets the start column of this location */
10-
int getStartColumn() {
11-
locations_default(this, _, _, result, _, _) or
12-
locations_ast(this, _, _, result, _, _)
13-
}
14-
159
string toString() { result = "<some file>" + ":" + this.getStartLine().toString() }
1610
}
1711

python/ql/lib/downgrades/503c0516fba2e5da9570f00eb34ef43025ecb8fb/py_stmts.ql

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ class Location extends @location {
66
locations_ast(this, _, result, _, _, _)
77
}
88

9-
/** Gets the start column of this location */
10-
int getStartColumn() {
11-
locations_default(this, _, _, result, _, _) or
12-
locations_ast(this, _, _, result, _, _)
13-
}
14-
159
string toString() { result = "<some file>" + ":" + this.getStartLine().toString() }
1610
}
1711

python/ql/lib/upgrades/ff5327c074ca235c6b2fa4ea9ed29f4c60aa46cb/py_exprs.ql

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ class Location extends @location {
66
locations_ast(this, _, result, _, _, _)
77
}
88

9-
/** Gets the start column of this location */
10-
int getStartColumn() {
11-
locations_default(this, _, _, result, _, _) or
12-
locations_ast(this, _, _, result, _, _)
13-
}
14-
159
string toString() { result = "<some file>" + ":" + this.getStartLine().toString() }
1610
}
1711

python/ql/lib/upgrades/ff5327c074ca235c6b2fa4ea9ed29f4c60aa46cb/py_stmts.ql

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ class Location extends @location {
66
locations_ast(this, _, result, _, _, _)
77
}
88

9-
/** Gets the start column of this location */
10-
int getStartColumn() {
11-
locations_default(this, _, _, result, _, _) or
12-
locations_ast(this, _, _, result, _, _)
13-
}
14-
159
string toString() { result = "<some file>" + ":" + this.getStartLine().toString() }
1610
}
1711

0 commit comments

Comments
 (0)