Permalink
Browse files

Take care of C Compiler warning about unused variables.

  • Loading branch information...
1 parent 9220eae commit fe321e658df68b8492ad02d129f168dcac2e6dce @copiousfreetime committed Feb 7, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 ext/hitimes/hitimes_interval.c
  2. +2 −2 ext/hitimes/hitimes_interval.h
@@ -39,7 +39,7 @@ VALUE hitimes_interval_alloc(VALUE klass)
*
* Create an interval that has already started
*/
-VALUE hitimes_interval_now( VALUE self )
+VALUE hitimes_interval_now( )
{
VALUE obj;
hitimes_interval_t *i = xmalloc( sizeof( hitimes_interval_t ) );
@@ -59,7 +59,7 @@ VALUE hitimes_interval_now( VALUE self )
*
* Times the execution of the block returning the number of seconds it took
*/
-VALUE hitimes_interval_measure( VALUE self )
+VALUE hitimes_interval_measure( )
{
hitimes_instant_t before;
hitimes_instant_t after;
@@ -58,8 +58,8 @@ extern VALUE cH_Interval; /* class Hitimes::Interval */
VALUE hitimes_interval_free(hitimes_interval_t* i) ;
VALUE hitimes_interval_alloc(VALUE klass);
-VALUE hitimes_interval_now( VALUE self );
-VALUE hitimes_interval_measure( VALUE self );
+VALUE hitimes_interval_now( );
+VALUE hitimes_interval_measure( );
VALUE hitimes_interval_split( VALUE self );
VALUE hitimes_interval_start( VALUE self );
VALUE hitimes_interval_stop( VALUE self );

0 comments on commit fe321e6

Please sign in to comment.