Skip to content

Commit 452f384

Browse files
committed
supress warnings
1 parent 8d11072 commit 452f384

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/TruffleCextBuiltins.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2146,13 +2146,13 @@ abstract static class PyBytes_FromStringAndSize extends NativeBuiltin {
21462146
// PythonNativeObject)
21472147

21482148
@Specialization
2149-
Object doGeneric(Object module, PByteArray object,
2149+
Object doGeneric(@SuppressWarnings("unused") Object module, PByteArray object,
21502150
@Exclusive @Cached BytesNodes.ToBytesNode getByteArrayNode) {
21512151
return factory().createBytes(getByteArrayNode.execute(object));
21522152
}
21532153

21542154
@Specialization
2155-
Object doGeneric(Object module, PBytes object,
2155+
Object doGeneric(@SuppressWarnings("unused") Object module, PBytes object,
21562156
@Exclusive @Cached BytesNodes.ToBytesNode getByteArrayNode) {
21572157
return factory().createBytes(getByteArrayNode.execute(object));
21582158
}

0 commit comments

Comments
 (0)