From 0ade0059c61c0f0b197b913e2675a39a51878c88 Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Sat, 12 Mar 2022 16:59:45 +0100 Subject: [PATCH] Fix: unused code --- var/lib/gsl/scripts/gsl__post_checkers | 2 -- var/lib/gsl/scripts/gsl__post_makers | 1 - var/lib/gsl/scripts/gsl__post_manager | 15 ++++++--------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/var/lib/gsl/scripts/gsl__post_checkers b/var/lib/gsl/scripts/gsl__post_checkers index 03a98fc..d624d37 100644 --- a/var/lib/gsl/scripts/gsl__post_checkers +++ b/var/lib/gsl/scripts/gsl__post_checkers @@ -10,8 +10,6 @@ # -------------------------------------------------- #---------------------------------------------------------------------- gsl__all_checkers() { -unset gsl_check_done - # Init Stats gsl_stat_abbr=0 gsl_stat_abbrs=0 diff --git a/var/lib/gsl/scripts/gsl__post_makers b/var/lib/gsl/scripts/gsl__post_makers index bc26ca0..bf732ec 100644 --- a/var/lib/gsl/scripts/gsl__post_makers +++ b/var/lib/gsl/scripts/gsl__post_makers @@ -14,7 +14,6 @@ # From: gsl__loop_posts | Convert Post from modules to HTML #======================================================================= gsl__all_makers() { -unset gsl_check_done # Code readability a11y gsl_a11y_post=`mktemp` diff --git a/var/lib/gsl/scripts/gsl__post_manager b/var/lib/gsl/scripts/gsl__post_manager index 945fc38..7675eb9 100644 --- a/var/lib/gsl/scripts/gsl__post_manager +++ b/var/lib/gsl/scripts/gsl__post_manager @@ -117,12 +117,12 @@ do ;; *) gsl__logs_print \ - "$gsl_log_e" \ - "Post" \ - "Status" \ - "$gsl_db_post_status: $gsl_post not Converted" \ - "$gsl_file_db_posts" - gsl_checker_err=true + "$gsl_log_e" \ + "Post" \ + "Status" \ + "$gsl_db_post_status: $gsl_post not Converted" \ + "$gsl_file_db_posts" + gsl_checker_err=true ;; esac ;; @@ -135,9 +135,6 @@ done [[ "$gsl_checker_err" ]] \ && gsl log -s -e - -[[ "$gsl_check_done" ]] \ - && echo "# Check already done" } #-----------------------------------------------------------------------