Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Suppress unused warnings for constants. Remove unused local.
  • Loading branch information
donaldh authored and moritz committed Apr 16, 2014
1 parent 626fd39 commit 9b9ca14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/vm/jvm/runtime/org/perl6/rakudo/Binder.java
Expand Up @@ -6,6 +6,7 @@
import org.perl6.nqp.sixmodel.*;
import org.perl6.nqp.sixmodel.reprs.ContextRefInstance;

@SuppressWarnings("unused")
public final class Binder {
/* Possible results of binding. */
public static final int BIND_RESULT_OK = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/vm/jvm/runtime/org/perl6/rakudo/RakOps.java
Expand Up @@ -14,6 +14,7 @@
/**
* Contains implementation of nqp:: ops specific to Rakudo Perl 6.
*/
@SuppressWarnings("unused")
public final class RakOps {
public static final boolean DEBUG_MODE = false;

Expand Down Expand Up @@ -604,7 +605,6 @@ public static SixModelObject p6getouterctx(SixModelObject codeObj, ThreadContext

public static SixModelObject p6captureouters(SixModelObject capList, ThreadContext tc) {
GlobalExt gcx = key.getGC(tc);
CallFrame cf = tc.curFrame;
long elems = capList.elems(tc);
for (long i = 0; i < elems; i++) {
SixModelObject codeObj = capList.at_pos_boxed(tc, i);
Expand Down

0 comments on commit 9b9ca14

Please sign in to comment.