From b7ff6fe610603cb2b53bc0fd8ed87d2aa937ed57 Mon Sep 17 00:00:00 2001
From: burneykb <burneykb@iastate.edu>
Date: Mon, 27 Mar 2017 05:25:29 -0500
Subject: [PATCH] small correction

---
 groundStation/src/cli/cli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/groundStation/src/cli/cli.c b/groundStation/src/cli/cli.c
index e9829185e..876a6bb24 100644
--- a/groundStation/src/cli/cli.c
+++ b/groundStation/src/cli/cli.c
@@ -154,7 +154,7 @@ int isNumber(char *number) {
 
 int convert_to_id(struct backend_conn * conn, char **argv, struct convert_data * convert_data, int conversion_requirement) {
 	/* variables used to search for id values */
-	size_t num_nodes = 0, i;
+	size_t num_nodes = 0, i = 0;
 	struct frontend_node_data* search_data = NULL;
 	int search_1 = 0, search_2 = 0;
 	const struct graph_node_type * node_definition;
-- 
GitLab