Fastbootd: build breakage fix

Change-Id: I6a01ff6f785adc58581d0d9f44e71c94cbb4e3b5
diff --git a/fastbootd/commands/partitions.c b/fastbootd/commands/partitions.c
index 588aca1..ca66c6d 100644
--- a/fastbootd/commands/partitions.c
+++ b/fastbootd/commands/partitions.c
@@ -648,7 +648,6 @@
 {
     cnode *current;
     int i;
-    int ret;
     uint64_t partition_size;
     struct GPT_entry_raw *entry;
     for (i = 0, current = node->first_child; current; current = current->next, ++i) {