Skip to content

Commit 895fb33

Browse files
committed
Adding @SuppressWarnings("unused")
1 parent 0f9010c commit 895fb33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public boolean doBoolean(boolean value) {
8383
}
8484

8585
@Specialization
86-
public boolean doNone(PNone value) {
86+
public boolean doNone(@SuppressWarnings("unused") PNone value) {
8787
return false;
8888
}
8989

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Object getsignal(int signum) {
137137
@GenerateNodeFactory
138138
abstract static class DefaultIntHandlerNode extends PythonBuiltinNode {
139139
@Specialization
140-
Object defaultIntHandler(Object[] args) {
140+
Object defaultIntHandler(@SuppressWarnings("unused") Object[] args) {
141141
// TODO should be implemented properly.
142142
throw raise(PythonErrorType.KeyboardInterrupt);
143143
}

0 commit comments

Comments
 (0)