From: Kevin Day Date: Thu, 15 Mar 2012 01:46:29 +0000 (-0500) Subject: Cleanup: remove useless code X-Git-Tag: 0.3.0~75 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=888b8a7e91a37c3b72347b9c1181fca8e4641f5b;p=fll 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. --- 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]]);