Fix: unused code

This commit is contained in:
Cyrille L 2022-03-12 16:59:45 +01:00
parent 92e0deecde
commit 0ade0059c6
3 changed files with 6 additions and 12 deletions

View File

@ -10,8 +10,6 @@
# -------------------------------------------------- # --------------------------------------------------
#---------------------------------------------------------------------- #----------------------------------------------------------------------
gsl__all_checkers() { gsl__all_checkers() {
unset gsl_check_done
# Init Stats # Init Stats
gsl_stat_abbr=0 gsl_stat_abbr=0
gsl_stat_abbrs=0 gsl_stat_abbrs=0

View File

@ -14,7 +14,6 @@
# From: gsl__loop_posts | Convert Post from modules to HTML # From: gsl__loop_posts | Convert Post from modules to HTML
#======================================================================= #=======================================================================
gsl__all_makers() { gsl__all_makers() {
unset gsl_check_done
# Code readability a11y # Code readability a11y
gsl_a11y_post=`mktemp` gsl_a11y_post=`mktemp`

View File

@ -117,12 +117,12 @@ do
;; ;;
*) *)
gsl__logs_print \ gsl__logs_print \
"$gsl_log_e" \ "$gsl_log_e" \
"Post" \ "Post" \
"Status" \ "Status" \
"$gsl_db_post_status: $gsl_post not Converted" \ "$gsl_db_post_status: $gsl_post not Converted" \
"$gsl_file_db_posts" "$gsl_file_db_posts"
gsl_checker_err=true gsl_checker_err=true
;; ;;
esac esac
;; ;;
@ -135,9 +135,6 @@ done
[[ "$gsl_checker_err" ]] \ [[ "$gsl_checker_err" ]] \
&& gsl log -s -e && gsl log -s -e
[[ "$gsl_check_done" ]] \
&& echo "# Check already done"
} }
#----------------------------------------------------------------------- #-----------------------------------------------------------------------