Skip to content

Commit 61b8604

Browse files
committed
Added @SuppressWarings
1 parent c7428b8 commit 61b8604

File tree

1 file changed

+1
-0
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/complex

1 file changed

+1
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/complex/ComplexBuiltins.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ PNotImplemented doComplex(Object left, Object right) {
313313
static abstract class DivModNode extends PythonBinaryBuiltinNode {
314314

315315
@Specialization
316+
@SuppressWarnings("unused")
316317
PComplex doComplexDouble(Object right, Object left) {
317318
throw raise(PythonErrorType.TypeError, "can't take floor or mod of complex number.");
318319
}

0 commit comments

Comments
 (0)