From cc300120becb0280a67f74a8c9a98abf9d431ac8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 27 Jun 2015 17:26:35 +0200 Subject: [PATCH] (rewind.c) Get rid of unused variables --- performance.c | 1 + rewind.c | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/performance.c b/performance.c index 57792001e7..1ce03e51c2 100644 --- a/performance.c +++ b/performance.c @@ -421,6 +421,7 @@ uint64_t rarch_get_cpu_features(void) (void)cpu_flags; (void)flags; + (void)max_flag; (void)vendor; (void)vendor_shuffle; diff --git a/rewind.c b/rewind.c index 756348f4d2..ba60746e6e 100644 --- a/rewind.c +++ b/rewind.c @@ -420,9 +420,7 @@ bool state_manager_pop(state_manager_t *state, const void **data) { size_t start; uint8_t *out = NULL; - uint16_t *out16 = NULL; const uint8_t *compressed = NULL; - const uint16_t *compressed16 = NULL; *data = NULL; @@ -476,10 +474,7 @@ void state_manager_push_do(state_manager_t *state) if (state->thisblock_valid) { const uint8_t *oldb, *newb; - const uint16_t *old16, *new16; uint8_t *compressed; - uint16_t *compressed16; - size_t num16s; size_t headpos, tailpos, remaining; if (state->capacity < sizeof(size_t) + state->maxcompsize) return;