diff options
Diffstat (limited to 'block/vvfat.c')
-rw-r--r-- | block/vvfat.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/block/vvfat.c b/block/vvfat.c index 6d2e21c..5569450 100644 --- a/block/vvfat.c +++ b/block/vvfat.c @@ -114,15 +114,12 @@ static inline int array_ensure_allocated(array_t* array, int index) static inline void* array_get_next(array_t* array) { unsigned int next = array->next; - void* result; if (array_ensure_allocated(array, next) < 0) return NULL; array->next = next + 1; - result = array_get(array, next); - - return result; + return array_get(array, next); } static inline void* array_insert(array_t* array,unsigned int index,unsigned int count) { |