Skip to content

Commit da34991

Browse files
committed
move warning supression
1 parent 3ce2ada commit da34991

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/random/RandomBuiltins.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,9 @@ protected List<? extends NodeFactory<? extends PythonBuiltinNode>> getNodeFactor
6969
@GenerateNodeFactory
7070
public abstract static class SeedNode extends PythonBuiltinNode {
7171

72-
@SuppressWarnings("unused")
7372
@Specialization
7473
@TruffleBoundary
75-
public PNone seed(PRandom random, PNone none) {
74+
public PNone seed(PRandom random, @SuppressWarnings("unused") PNone none) {
7675
random.setSeed(System.currentTimeMillis());
7776
return PNone.NONE;
7877
}

0 commit comments

Comments
 (0)