python: remove compiler warnings

This commit is contained in:
Rasmus Lerchedahl Petersen
2022-01-19 18:01:58 +01:00
parent a0e79c1d7a
commit 7e9a9e3d9a
4 changed files with 0 additions and 24 deletions

View File

@@ -6,12 +6,6 @@ class Location extends @location {
locations_ast(this, _, result, _, _, _)
}
/** Gets the start column of this location */
int getStartColumn() {
locations_default(this, _, _, result, _, _) or
locations_ast(this, _, _, result, _, _)
}
string toString() { result = "<some file>" + ":" + this.getStartLine().toString() }
}

View File

@@ -6,12 +6,6 @@ class Location extends @location {
locations_ast(this, _, result, _, _, _)
}
/** Gets the start column of this location */
int getStartColumn() {
locations_default(this, _, _, result, _, _) or
locations_ast(this, _, _, result, _, _)
}
string toString() { result = "<some file>" + ":" + this.getStartLine().toString() }
}

View File

@@ -6,12 +6,6 @@ class Location extends @location {
locations_ast(this, _, result, _, _, _)
}
/** Gets the start column of this location */
int getStartColumn() {
locations_default(this, _, _, result, _, _) or
locations_ast(this, _, _, result, _, _)
}
string toString() { result = "<some file>" + ":" + this.getStartLine().toString() }
}

View File

@@ -6,12 +6,6 @@ class Location extends @location {
locations_ast(this, _, result, _, _, _)
}
/** Gets the start column of this location */
int getStartColumn() {
locations_default(this, _, _, result, _, _) or
locations_ast(this, _, _, result, _, _)
}
string toString() { result = "<some file>" + ":" + this.getStartLine().toString() }
}