Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Take care of C Compiler warning about unused variables.

  • Loading branch information...
commit fe321e658df68b8492ad02d129f168dcac2e6dce 1 parent 9220eae
@copiousfreetime authored
View
4 ext/hitimes/hitimes_interval.c
@@ -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;
View
4 ext/hitimes/hitimes_interval.h
@@ -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.
Something went wrong with that request. Please try again.