From 888b8a7e91a37c3b72347b9c1181fca8e4641f5b Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 14 Mar 2012 20:46:29 -0500 Subject: [PATCH] Cleanup: remove useless code I was considering to use status to return true or false, but later changed my mind. There was a line of code where I was initialize status, this code is no longer needed. --- level_3/fss_return_code/c/fss_return_code.c | 6 ------ level_3/return_code/c/return_code.c | 6 ------ 2 files changed, 12 deletions(-) diff --git a/level_3/fss_return_code/c/fss_return_code.c b/level_3/fss_return_code/c/fss_return_code.c index 0195707..6949c6a 100644 --- a/level_3/fss_return_code/c/fss_return_code.c +++ b/level_3/fss_return_code/c/fss_return_code.c @@ -156,8 +156,6 @@ extern "C"{ f_status code = f_status_initialize; - status = f_false; - for (; counter < data->remaining.used; counter++){ code = (f_status) atoll(argv[data->remaining.array[counter]]); @@ -174,8 +172,6 @@ extern "C"{ f_status code = f_status_initialize; - status = f_false; - for (; counter < data->remaining.used; counter++){ code = (f_status) atoll(argv[data->remaining.array[counter]]); @@ -192,8 +188,6 @@ extern "C"{ f_status code = f_status_initialize; - status = f_false; - for (; counter < data->remaining.used; counter++){ code = (f_status) atoll(argv[data->remaining.array[counter]]); diff --git a/level_3/return_code/c/return_code.c b/level_3/return_code/c/return_code.c index e18b58b..d407ad0 100644 --- a/level_3/return_code/c/return_code.c +++ b/level_3/return_code/c/return_code.c @@ -156,8 +156,6 @@ extern "C"{ f_status code = f_status_initialize; - status = f_false; - for (; counter < data->remaining.used; counter++){ code = (f_status) atoll(argv[data->remaining.array[counter]]); @@ -174,8 +172,6 @@ extern "C"{ f_status code = f_status_initialize; - status = f_false; - for (; counter < data->remaining.used; counter++){ code = (f_status) atoll(argv[data->remaining.array[counter]]); @@ -192,8 +188,6 @@ extern "C"{ f_status code = f_status_initialize; - status = f_false; - for (; counter < data->remaining.used; counter++){ code = (f_status) atoll(argv[data->remaining.array[counter]]); -- 1.8.3.1