Commit bfda7686 authored by Tom Finegan's avatar Tom Finegan Committed by James Zern

aom_ports: Fix build in Xcode 8.

Use void casts and avoid unused/unnamed parameter warnings.

Change-Id: Id02ec2c613cb1423f693bcc56832ccd9b41d05bd
parent a34daedf
...@@ -97,11 +97,12 @@ struct aom_usec_timer { ...@@ -97,11 +97,12 @@ struct aom_usec_timer {
void *dummy; void *dummy;
}; };
static INLINE void aom_usec_timer_start(struct aom_usec_timer * /*t*/) {} static INLINE void aom_usec_timer_start(struct aom_usec_timer *t) { (void)t; }
static INLINE void aom_usec_timer_mark(struct aom_usec_timer * /*t*/) {} static INLINE void aom_usec_timer_mark(struct aom_usec_timer *t) { (void)t; }
static INLINE int aom_usec_timer_elapsed(struct aom_usec_timer * /*t*/) { static INLINE int aom_usec_timer_elapsed(struct aom_usec_timer *t) {
(void)t;
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment