summaryrefslogtreecommitdiffstats
path: root/polyp/memblockq.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/memblockq.c')
-rw-r--r--polyp/memblockq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/memblockq.c b/polyp/memblockq.c
index bc5d7437..085c0510 100644
--- a/polyp/memblockq.c
+++ b/polyp/memblockq.c
@@ -189,9 +189,9 @@ int memblockq_pop(struct memblockq* bq, struct pa_memchunk *chunk) {
*/
static uint32_t age(struct timeval *tv) {
- assert(tv);
struct timeval now;
uint32_t r;
+ assert(tv);
if (tv->tv_sec == 0)
return 0;