Permalink
Browse files

quiet some unused variable warnings

  • Loading branch information...
1 parent a357484 commit d344da6cbcb02b13df7525ef87a455aed0db3037 @petdance petdance committed Mar 22, 2012
Showing with 9 additions and 4 deletions.
  1. +2 −1 src/call/ops.c
  2. +3 −3 src/ops/core.ops
  3. +3 −0 src/ops/core_ops.c
  4. +1 −0 src/ops/experimental.ops
View
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2001-2010, Parrot Foundation.
+Copyright (C) 2001-2012, Parrot Foundation.
=head1 NAME
@@ -151,6 +151,7 @@ void
reset_runloop_id_counter(PARROT_INTERP)
{
ASSERT_ARGS(reset_runloop_id_counter)
+ UNUSED(interp);
runloop_id_counter = 0;
}
View
@@ -96,6 +96,8 @@ actions on it.
=cut
inline op noop() :base_core {
+ UNUSED(interp);
+ UNUSED(CUR_OPCODE);
}
inline op check_events() :base_core :flow {
@@ -1504,7 +1506,7 @@ inline op annotations(out PMC, in STR) {
=head1 COPYRIGHT
-Copyright (C) 2001-2011, Parrot Foundation.
+Copyright (C) 2001-2012, Parrot Foundation.
=head1 LICENSE
@@ -1519,5 +1521,3 @@ as the Parrot interpreter itself.
* End:
* vim: expandtab shiftwidth=4 cinoptions='\:2=2' :
*/
-
-
View
@@ -13466,6 +13466,8 @@ Parrot_end(opcode_t *cur_opcode, PARROT_INTERP) {
opcode_t *
Parrot_noop(opcode_t *cur_opcode, PARROT_INTERP) {
+ UNUSED(interp);
+ UNUSED(CUR_OPCODE);
return (opcode_t *)cur_opcode + 1;
}
@@ -23123,6 +23125,7 @@ Parrot_find_sub_not_null_p_sc(opcode_t *cur_opcode, PARROT_INTERP) {
opcode_t *
Parrot_trap(opcode_t *cur_opcode, PARROT_INTERP) {
+ UNUSED(interp);
#if defined(__GNUC__) && defined(i386)
__asm__("int3");
View
@@ -48,6 +48,7 @@ For other architectures, this is a C<noop>.
=cut
op trap() :deprecated {
+ UNUSED(interp);
#if defined(__GNUC__) && defined(i386)
__asm__("int3"); /* opcode 0xcc */
#endif

0 comments on commit d344da6

Please sign in to comment.