Skip to content

Commit b9e7ac6

Browse files
committed
fix warning
1 parent d4841b3 commit b9e7ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,7 @@ Object doObjectDirect(@SuppressWarnings("unused") PythonManagedClass self, Objec
14851485
@Specialization(limit = "getCallSiteInlineCacheMaxDepth()", //
14861486
guards = {"getInstanceShape(self) == cachedInstanceShape", "!self.needsNativeAllocation()"}, //
14871487
replaces = "doObjectDirect")
1488-
Object doObjectCachedInstanceShape(PythonManagedClass self, Object[] varargs, PKeyword[] kwargs,
1488+
Object doObjectCachedInstanceShape(@SuppressWarnings("unused") PythonManagedClass self, Object[] varargs, PKeyword[] kwargs,
14891489
@Cached("getInstanceShape(self)") Shape cachedInstanceShape) {
14901490
if (varargs.length > 0 || kwargs.length > 0) {
14911491
// TODO: tfel: this should throw an error only if init isn't overridden

0 commit comments

Comments
 (0)