Declare 'prev' and 'this' outside the loop to avoid clang warning about 'prev' being uninitialized

Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/gettime.c b/gettime.c
index cc9dcb7..5b85a23 100644
--- a/gettime.c
+++ b/gettime.c
@@ -501,6 +501,7 @@
 	unsigned int nr_cpus = cpus_online();
 	struct clock_entry *entries;
 	unsigned long tentries, failed;
+	struct clock_entry *prev, *this;
 	uint64_t seq = 0;
 	int i;
 
@@ -558,7 +559,7 @@
 	qsort(entries, tentries, sizeof(struct clock_entry), clock_cmp);
 
 	for (failed = i = 0; i < tentries; i++) {
-		struct clock_entry *prev, *this = &entries[i];
+		this = &entries[i];
 
 		if (!i) {
 			prev = this;