readline-8.2-11.fc42

List of Findings

Error: SHELLCHECK_WARNING (CWE-563): [#def1]
/usr/share/doc/readline-devel/rlfe/configure:21:3: warning[SC2034]: NULLCMD appears unused. Verify use (or export if used externally).
#   19|   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
#   20|     emulate sh
#   21|->   NULLCMD=:
#   22|     # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
#   23|     # is contrary to our usage.  Disable this feature.

Error: SHELLCHECK_WARNING (CWE-398): [#def2]
/usr/share/doc/readline-devel/rlfe/configure:24:12: error[SC2142]: Aliases can't use positional parameters. Use a function.
#   22|     # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
#   23|     # is contrary to our usage.  Disable this feature.
#   24|->   alias -g '${1+"$@"}'='"$@"'
#   25|     setopt NO_GLOB_SUBST
#   26|   else

Error: SHELLCHECK_WARNING: [#def3]
/usr/share/doc/readline-devel/rlfe/configure:29:12: warning[SC3040]: In POSIX sh, set option posix is undefined.
#   27|     case `(set -o) 2>/dev/null` in #(
#   28|     *posix*) :
#   29|->     set -o posix ;; #(
#   30|     *) :
#   31|        ;;

Error: SHELLCHECK_WARNING: [#def4]
/usr/share/doc/readline-devel/rlfe/configure:53:29: warning[SC3037]: In POSIX sh, echo flags are undefined.
#   51|     as_echo_n='printf %s'
#   52|   else
#   53|->   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
#   54|       as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
#   55|       as_echo_n='/usr/ucb/echo -n'

Error: SHELLCHECK_WARNING (CWE-569): [#def5]
/usr/share/doc/readline-devel/rlfe/configure:57:18: warning[SC2089]: Quotes/backslashes will be treated literally. Rewrite using set/"$@" or functions.
#   55|       as_echo_n='/usr/ucb/echo -n'
#   56|     else
#   57|->     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
#   58|       as_echo_n_body='eval
#   59|         arg=$1;

Error: SHELLCHECK_WARNING (CWE-569): [#def6]
/usr/share/doc/readline-devel/rlfe/configure:58:20: warning[SC2089]: Quotes/backslashes will be treated literally. Rewrite using set/"$@" or functions.
#   56|     else
#   57|       as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
#   58|->     as_echo_n_body='eval
#   59|         arg=$1;
#   60|         case $arg in #(

Error: SHELLCHECK_WARNING (CWE-569): [#def7]
/usr/share/doc/readline-devel/rlfe/configure:67:12: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#   65|         expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
#   66|       '
#   67|->     export as_echo_n_body
#   68|       as_echo_n='sh -c $as_echo_n_body as_echo'
#   69|     fi

Error: SHELLCHECK_WARNING (CWE-569): [#def8]
/usr/share/doc/readline-devel/rlfe/configure:70:10: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
#   68|       as_echo_n='sh -c $as_echo_n_body as_echo'
#   69|     fi
#   70|->   export as_echo_body
#   71|     as_echo='sh -c $as_echo_body as_echo'
#   72|   fi

Error: SHELLCHECK_WARNING (CWE-563): [#def9]
/usr/share/doc/readline-devel/rlfe/configure:78:24: warning[SC2034]: FPATH appears unused. Verify use (or export if used externally).
#   76|     PATH_SEPARATOR=:
#   77|     (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
#   78|->     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
#   79|         PATH_SEPARATOR=';'
#   80|     }

Error: SHELLCHECK_WARNING (CWE-569): [#def10]
/usr/share/doc/readline-devel/rlfe/configure:121:17: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
#  119|   # trigger a bug in pdksh 5.2.14.
#  120|   for as_var in BASH_ENV ENV MAIL MAILPATH
#  121|-> do eval test x\${$as_var+set} = xset \
#  122|     && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
#  123|   done

Error: SHELLCHECK_WARNING (CWE-569): [#def11]
/usr/share/doc/readline-devel/rlfe/configure:121:29: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
#  119|   # trigger a bug in pdksh 5.2.14.
#  120|   for as_var in BASH_ENV ENV MAIL MAILPATH
#  121|-> do eval test x\${$as_var+set} = xset \
#  122|     && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
#  123|   done

Error: SHELLCHECK_WARNING (CWE-563): [#def12]
/usr/share/doc/readline-devel/rlfe/configure:251:1: warning[SC2034]: CLICOLOR_FORCE appears unused. Verify use (or export if used externally).
#  249|   export SHELL
#  250|   # Unset more variables known to interfere with behavior of common tools.
#  251|-> CLICOLOR_FORCE= GREP_OPTIONS=
#  252|   unset CLICOLOR_FORCE GREP_OPTIONS
#  253|   

Error: SHELLCHECK_WARNING (CWE-480): [#def13]
/usr/share/doc/readline-devel/rlfe/configure:251:16: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
#  249|   export SHELL
#  250|   # Unset more variables known to interfere with behavior of common tools.
#  251|-> CLICOLOR_FORCE= GREP_OPTIONS=
#  252|   unset CLICOLOR_FORCE GREP_OPTIONS
#  253|   

Error: SHELLCHECK_WARNING (CWE-563): [#def14]
/usr/share/doc/readline-devel/rlfe/configure:251:17: warning[SC2034]: GREP_OPTIONS appears unused. Verify use (or export if used externally).
#  249|   export SHELL
#  250|   # Unset more variables known to interfere with behavior of common tools.
#  251|-> CLICOLOR_FORCE= GREP_OPTIONS=
#  252|   unset CLICOLOR_FORCE GREP_OPTIONS
#  253|   

Error: SHELLCHECK_WARNING (CWE-563): [#def15]
/usr/share/doc/readline-devel/rlfe/configure:264:1: warning[SC2034]: as_unset appears unused. Verify use (or export if used externally).
#  262|     { eval $1=; unset $1;}
#  263|   }
#  264|-> as_unset=as_fn_unset
#  265|   
#  266|   # as_fn_set_status STATUS

Error: SHELLCHECK_WARNING (CWE-456): [#def16]
/usr/share/doc/readline-devel/rlfe/configure:385:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
#  383|   if expr a : '\(a\)' >/dev/null 2>&1 &&
#  384|      test "X`expr 00001 : '.*\(...\)'`" = X001; then
#  385|->   as_expr=expr
#  386|   else
#  387|     as_expr=false

Error: SHELLCHECK_WARNING (CWE-456): [#def17]
/usr/share/doc/readline-devel/rlfe/configure:391:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
#  389|   
#  390|   if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
#  391|->   as_basename=basename
#  392|   else
#  393|     as_basename=false

Error: SHELLCHECK_WARNING (CWE-456): [#def18]
/usr/share/doc/readline-devel/rlfe/configure:397:3: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
#  395|   
#  396|   if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
#  397|->   as_dirname=dirname
#  398|   else
#  399|     as_dirname=false

Error: SHELLCHECK_WARNING (CWE-563): [#def19]
/usr/share/doc/readline-devel/rlfe/configure:429:3: warning[SC2034]: as_lineno_1 appears unused. Verify use (or export if used externally).
#  427|   
#  428|   
#  429|->   as_lineno_1=$LINENO as_lineno_1a=$LINENO
#  430|     as_lineno_2=$LINENO as_lineno_2a=$LINENO
#  431|     eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&

Error: SHELLCHECK_WARNING (CWE-563): [#def20]
/usr/share/doc/readline-devel/rlfe/configure:429:23: warning[SC2034]: as_lineno_1a appears unused. Verify use (or export if used externally).
#  427|   
#  428|   
#  429|->   as_lineno_1=$LINENO as_lineno_1a=$LINENO
#  430|     as_lineno_2=$LINENO as_lineno_2a=$LINENO
#  431|     eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&

Error: SHELLCHECK_WARNING (CWE-563): [#def21]
/usr/share/doc/readline-devel/rlfe/configure:430:3: warning[SC2034]: as_lineno_2 appears unused. Verify use (or export if used externally).
#  428|   
#  429|     as_lineno_1=$LINENO as_lineno_1a=$LINENO
#  430|->   as_lineno_2=$LINENO as_lineno_2a=$LINENO
#  431|     eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
#  432|     test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {

Error: SHELLCHECK_WARNING (CWE-563): [#def22]
/usr/share/doc/readline-devel/rlfe/configure:430:23: warning[SC2034]: as_lineno_2a appears unused. Verify use (or export if used externally).
#  428|   
#  429|     as_lineno_1=$LINENO as_lineno_1a=$LINENO
#  430|->   as_lineno_2=$LINENO as_lineno_2a=$LINENO
#  431|     eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
#  432|     test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {

Error: SHELLCHECK_WARNING (CWE-457): [#def23]
/usr/share/doc/readline-devel/rlfe/configure:431:29: warning[SC2154]: as_run is referenced but not assigned.
#  429|     as_lineno_1=$LINENO as_lineno_1a=$LINENO
#  430|     as_lineno_2=$LINENO as_lineno_2a=$LINENO
#  431|->   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
#  432|     test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
#  433|     # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)

Error: SHELLCHECK_WARNING (CWE-480): [#def24]
/usr/share/doc/readline-devel/rlfe/configure:460:8: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
#  458|   }
#  459|   
#  460|-> ECHO_C= ECHO_N= ECHO_T=
#  461|   case `echo -n x` in #(((((
#  462|   -n*)

Error: SHELLCHECK_WARNING (CWE-480): [#def25]
/usr/share/doc/readline-devel/rlfe/configure:460:16: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
#  458|   }
#  459|   
#  460|-> ECHO_C= ECHO_N= ECHO_T=
#  461|   case `echo -n x` in #(((((
#  462|   -n*)

Error: SHELLCHECK_WARNING: [#def26]
/usr/share/doc/readline-devel/rlfe/configure:461:12: warning[SC3037]: In POSIX sh, echo flags are undefined.
#  459|   
#  460|   ECHO_C= ECHO_N= ECHO_T=
#  461|-> case `echo -n x` in #(((((
#  462|   -n*)
#  463|     case `echo 'xy\c'` in

Error: SHELLCHECK_WARNING (CWE-563): [#def27]
/usr/share/doc/readline-devel/rlfe/configure:465:8: warning[SC2034]: ECHO_C appears unused. Verify use (or export if used externally).
#  463|     case `echo 'xy\c'` in
#  464|     *c*) ECHO_T='	';;	# ECHO_T is single tab character.
#  465|->   xy)  ECHO_C='\c';;
#  466|     *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
#  467|          ECHO_T='	';;

Error: SHELLCHECK_WARNING (CWE-156): [#def28]
/usr/share/doc/readline-devel/rlfe/configure:466:13: warning[SC2046]: Quote this to prevent word splitting.
#  464|     *c*) ECHO_T='	';;	# ECHO_T is single tab character.
#  465|     xy)  ECHO_C='\c';;
#  466|->   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
#  467|          ECHO_T='	';;
#  468|     esac;;

Error: SHELLCHECK_WARNING (CWE-563): [#def29]
/usr/share/doc/readline-devel/rlfe/configure:467:8: warning[SC2034]: ECHO_T appears unused. Verify use (or export if used externally).
#  465|     xy)  ECHO_C='\c';;
#  466|     *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
#  467|->        ECHO_T='	';;
#  468|     esac;;
#  469|   *)

Error: SHELLCHECK_WARNING (CWE-563): [#def30]
/usr/share/doc/readline-devel/rlfe/configure:470:3: warning[SC2034]: ECHO_N appears unused. Verify use (or export if used externally).
#  468|     esac;;
#  469|   *)
#  470|->   ECHO_N='-n';;
#  471|   esac
#  472|   

Error: SHELLCHECK_WARNING (CWE-456): [#def31]
/usr/share/doc/readline-devel/rlfe/configure:490:5: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
#  488|         as_ln_s='cp -p'
#  489|     elif ln conf$$.file conf$$ 2>/dev/null; then
#  490|->     as_ln_s=ln
#  491|     else
#  492|       as_ln_s='cp -p'

Error: SHELLCHECK_WARNING (CWE-563): [#def32]
/usr/share/doc/readline-devel/rlfe/configure:495:3: warning[SC2034]: as_ln_s appears unused. Verify use (or export if used externally).
#  493|     fi
#  494|   else
#  495|->   as_ln_s='cp -p'
#  496|   fi
#  497|   rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file

Error: SHELLCHECK_WARNING (CWE-697): [#def33]
/usr/share/doc/readline-devel/rlfe/configure:507:14: warning[SC2065]: This is interpreted as a shell file redirection, not a comparison.
#  505|   fi
#  506|   
#  507|-> if test -x / >/dev/null 2>&1; then
#  508|     as_test_x='test -x'
#  509|   else

Error: SHELLCHECK_WARNING (CWE-569): [#def34]
/usr/share/doc/readline-devel/rlfe/configure:516:17: warning[SC2089]: Quotes/backslashes will be treated literally. Rewrite using set/"$@" or functions.
#  514|     fi
#  515|     as_test_x='
#  516|->     eval sh -c '\''
#  517|         if test -d "$1"; then
#  518|   	test -d "$1/.";

Error: SHELLCHECK_WARNING (CWE-563): [#def35]
/usr/share/doc/readline-devel/rlfe/configure:528:1: warning[SC2034]: as_executable_p appears unused. Verify use (or export if used externally).
#  526|     '
#  527|   fi
#  528|-> as_executable_p=$as_test_x
#  529|   
#  530|   # Sed expression to map a string onto a valid CPP name.

Error: SHELLCHECK_WARNING (CWE-569): [#def36]
/usr/share/doc/readline-devel/rlfe/configure:531:12: warning[SC2089]: Quotes/backslashes will be treated literally. Rewrite using set/"$@" or functions.
#  529|   
#  530|   # Sed expression to map a string onto a valid CPP name.
#  531|-> as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
#  532|   
#  533|   # Sed expression to map a string onto a valid variable name.

Error: SHELLCHECK_WARNING (CWE-569): [#def37]
/usr/share/doc/readline-devel/rlfe/configure:534:11: warning[SC2089]: Quotes/backslashes will be treated literally. Rewrite using set/"$@" or functions.
#  532|   
#  533|   # Sed expression to map a string onto a valid variable name.
#  534|-> as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
#  535|   
#  536|   

Error: SHELLCHECK_WARNING (CWE-563): [#def38]
/usr/share/doc/readline-devel/rlfe/configure:543:1: warning[SC2034]: ac_hostname appears unused. Verify use (or export if used externally).
#  541|   # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
#  542|   # so uname gets run too.
#  543|-> ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
#  544|   
#  545|   #

Error: SHELLCHECK_WARNING (CWE-563): [#def39]
/usr/share/doc/readline-devel/rlfe/configure:550:1: warning[SC2034]: ac_config_libobj_dir appears unused. Verify use (or export if used externally).
#  548|   ac_default_prefix=/usr/local
#  549|   ac_clean_files=
#  550|-> ac_config_libobj_dir=.
#  551|   LIBOBJS=
#  552|   cross_compiling=no

Error: SHELLCHECK_WARNING (CWE-563): [#def40]
/usr/share/doc/readline-devel/rlfe/configure:553:1: warning[SC2034]: subdirs appears unused. Verify use (or export if used externally).
#  551|   LIBOBJS=
#  552|   cross_compiling=no
#  553|-> subdirs=
#  554|   MFLAGS=
#  555|   MAKEFLAGS=

Error: SHELLCHECK_WARNING (CWE-563): [#def41]
/usr/share/doc/readline-devel/rlfe/configure:554:1: warning[SC2034]: MFLAGS appears unused. Verify use (or export if used externally).
#  552|   cross_compiling=no
#  553|   subdirs=
#  554|-> MFLAGS=
#  555|   MAKEFLAGS=
#  556|   

Error: SHELLCHECK_WARNING (CWE-563): [#def42]
/usr/share/doc/readline-devel/rlfe/configure:555:1: warning[SC2034]: MAKEFLAGS appears unused. Verify use (or export if used externally).
#  553|   subdirs=
#  554|   MFLAGS=
#  555|-> MAKEFLAGS=
#  556|   
#  557|   # Identity of this package.

Error: SHELLCHECK_WARNING (CWE-563): [#def43]
/usr/share/doc/readline-devel/rlfe/configure:747:5: warning[SC2034]: bindir appears unused. Verify use (or export if used externally).
#  745|       ac_prev=bindir ;;
#  746|     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
#  747|->     bindir=$ac_optarg ;;
#  748|   
#  749|     -build | --build | --buil | --bui | --bu)

Error: SHELLCHECK_WARNING (CWE-563): [#def44]
/usr/share/doc/readline-devel/rlfe/configure:800:5: warning[SC2034]: dvidir appears unused. Verify use (or export if used externally).
#  798|       ac_prev=dvidir ;;
#  799|     -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
#  800|->     dvidir=$ac_optarg ;;
#  801|   
#  802|     -enable-* | --enable-*)

Error: SHELLCHECK_WARNING (CWE-563): [#def45]
/usr/share/doc/readline-devel/rlfe/configure:829:5: warning[SC2034]: with_gas appears unused. Verify use (or export if used externally).
#  827|     -gas | --gas | --ga | --g)
#  828|       # Obsolete; use --with-gas.
#  829|->     with_gas=yes ;;
#  830|   
#  831|     -help | --help | --hel | --he | -h)

Error: SHELLCHECK_WARNING (CWE-563): [#def46]
/usr/share/doc/readline-devel/rlfe/configure:847:5: warning[SC2034]: htmldir appears unused. Verify use (or export if used externally).
#  845|     -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
#  846|     | --ht=*)
#  847|->     htmldir=$ac_optarg ;;
#  848|   
#  849|     -includedir | --includedir | --includedi | --included | --include \

Error: SHELLCHECK_WARNING (CWE-563): [#def47]
/usr/share/doc/readline-devel/rlfe/configure:854:5: warning[SC2034]: includedir appears unused. Verify use (or export if used externally).
#  852|     -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
#  853|     | --includ=* | --inclu=* | --incl=* | --inc=*)
#  854|->     includedir=$ac_optarg ;;
#  855|   
#  856|     -infodir | --infodir | --infodi | --infod | --info | --inf)

Error: SHELLCHECK_WARNING (CWE-563): [#def48]
/usr/share/doc/readline-devel/rlfe/configure:864:5: warning[SC2034]: libdir appears unused. Verify use (or export if used externally).
#  862|       ac_prev=libdir ;;
#  863|     -libdir=* | --libdir=* | --libdi=* | --libd=*)
#  864|->     libdir=$ac_optarg ;;
#  865|   
#  866|     -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \

Error: SHELLCHECK_WARNING (CWE-563): [#def49]
/usr/share/doc/readline-devel/rlfe/configure:871:5: warning[SC2034]: libexecdir appears unused. Verify use (or export if used externally).
#  869|     -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
#  870|     | --libexe=* | --libex=* | --libe=*)
#  871|->     libexecdir=$ac_optarg ;;
#  872|   
#  873|     -localedir | --localedir | --localedi | --localed | --locale)

Error: SHELLCHECK_WARNING (CWE-563): [#def50]
/usr/share/doc/readline-devel/rlfe/configure:883:5: warning[SC2034]: localstatedir appears unused. Verify use (or export if used externally).
#  881|     -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
#  882|     | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
#  883|->     localstatedir=$ac_optarg ;;
#  884|   
#  885|     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)

Error: SHELLCHECK_WARNING (CWE-563): [#def51]
/usr/share/doc/readline-devel/rlfe/configure:892:5: warning[SC2034]: with_fp appears unused. Verify use (or export if used externally).
#  890|     -nfp | --nfp | --nf)
#  891|       # Obsolete; use --without-fp.
#  892|->     with_fp=no ;;
#  893|   
#  894|     -no-create | --no-create | --no-creat | --no-crea | --no-cre \

Error: SHELLCHECK_WARNING (CWE-563): [#def52]
/usr/share/doc/readline-devel/rlfe/configure:900:5: warning[SC2034]: no_recursion appears unused. Verify use (or export if used externally).
#  898|     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
#  899|     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
#  900|->     no_recursion=yes ;;
#  901|   
#  902|     -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \

Error: SHELLCHECK_WARNING (CWE-563): [#def53]
/usr/share/doc/readline-devel/rlfe/configure:909:5: warning[SC2034]: oldincludedir appears unused. Verify use (or export if used externally).
#  907|     | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
#  908|     | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
#  909|->     oldincludedir=$ac_optarg ;;
#  910|   
#  911|     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)

Error: SHELLCHECK_WARNING (CWE-563): [#def54]
/usr/share/doc/readline-devel/rlfe/configure:921:5: warning[SC2034]: program_prefix appears unused. Verify use (or export if used externally).
#  919|     -program-prefix=* | --program-prefix=* | --program-prefi=* \
#  920|     | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
#  921|->     program_prefix=$ac_optarg ;;
#  922|   
#  923|     -program-suffix | --program-suffix | --program-suffi | --program-suff \

Error: SHELLCHECK_WARNING (CWE-563): [#def55]
/usr/share/doc/readline-devel/rlfe/configure:928:5: warning[SC2034]: program_suffix appears unused. Verify use (or export if used externally).
#  926|     -program-suffix=* | --program-suffix=* | --program-suffi=* \
#  927|     | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
#  928|->     program_suffix=$ac_optarg ;;
#  929|   
#  930|     -program-transform-name | --program-transform-name \

Error: SHELLCHECK_WARNING (CWE-563): [#def56]
/usr/share/doc/readline-devel/rlfe/configure:945:5: warning[SC2034]: program_transform_name appears unused. Verify use (or export if used externally).
#  943|     | --program-trans=* | --program-tran=* \
#  944|     | --progr-tra=* | --program-tr=* | --program-t=*)
#  945|->     program_transform_name=$ac_optarg ;;
#  946|   
#  947|     -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)

Error: SHELLCHECK_WARNING (CWE-563): [#def57]
/usr/share/doc/readline-devel/rlfe/configure:950:5: warning[SC2034]: pdfdir appears unused. Verify use (or export if used externally).
#  948|       ac_prev=pdfdir ;;
#  949|     -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
#  950|->     pdfdir=$ac_optarg ;;
#  951|   
#  952|     -psdir | --psdir | --psdi | --psd | --ps)

Error: SHELLCHECK_WARNING (CWE-563): [#def58]
/usr/share/doc/readline-devel/rlfe/configure:955:5: warning[SC2034]: psdir appears unused. Verify use (or export if used externally).
#  953|       ac_prev=psdir ;;
#  954|     -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
#  955|->     psdir=$ac_optarg ;;
#  956|   
#  957|     -q | -quiet | --quiet | --quie | --qui | --qu | --q \

Error: SHELLCHECK_WARNING (CWE-563): [#def59]
/usr/share/doc/readline-devel/rlfe/configure:965:5: warning[SC2034]: sbindir appears unused. Verify use (or export if used externally).
#  963|     -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
#  964|     | --sbi=* | --sb=*)
#  965|->     sbindir=$ac_optarg ;;
#  966|   
#  967|     -sharedstatedir | --sharedstatedir | --sharedstatedi \

Error: SHELLCHECK_WARNING (CWE-563): [#def60]
/usr/share/doc/readline-devel/rlfe/configure:976:5: warning[SC2034]: sharedstatedir appears unused. Verify use (or export if used externally).
#  974|     | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
#  975|     | --sha=* | --sh=*)
#  976|->     sharedstatedir=$ac_optarg ;;
#  977|   
#  978|     -site | --site | --sit)

Error: SHELLCHECK_WARNING (CWE-563): [#def61]
/usr/share/doc/readline-devel/rlfe/configure:981:5: warning[SC2034]: site appears unused. Verify use (or export if used externally).
#  979|       ac_prev=site ;;
#  980|     -site=* | --site=* | --sit=*)
#  981|->     site=$ac_optarg ;;
#  982|   
#  983|     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)

Error: SHELLCHECK_WARNING (CWE-563): [#def62]
/usr/share/doc/readline-devel/rlfe/configure:993:5: warning[SC2034]: sysconfdir appears unused. Verify use (or export if used externally).
#  991|     -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
#  992|     | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
#  993|->     sysconfdir=$ac_optarg ;;
#  994|   
#  995|     -target | --target | --targe | --targ | --tar | --ta | --t)

Error: SHELLCHECK_WARNING (CWE-563): [#def63]
/usr/share/doc/readline-devel/rlfe/configure:1001:5: warning[SC2034]: verbose appears unused. Verify use (or export if used externally).
#  999|   
# 1000|     -v | -verbose | --verbose | --verbos | --verbo | --verb)
# 1001|->     verbose=yes ;;
# 1002|   
# 1003|     -version | --version | --versio | --versi | --vers | -V)

Error: SHELLCHECK_WARNING (CWE-563): [#def64]
/usr/share/doc/readline-devel/rlfe/configure:1040:5: warning[SC2034]: with_x appears unused. Verify use (or export if used externally).
# 1038|     --x)
# 1039|       # Obsolete; use --with-x.
# 1040|->     with_x=yes ;;
# 1041|   
# 1042|     -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \

Error: SHELLCHECK_WARNING (CWE-563): [#def65]
/usr/share/doc/readline-devel/rlfe/configure:1047:5: warning[SC2034]: x_includes appears unused. Verify use (or export if used externally).
# 1045|     -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
# 1046|     | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
# 1047|->     x_includes=$ac_optarg ;;
# 1048|   
# 1049|     -x-libraries | --x-libraries | --x-librarie | --x-librari \

Error: SHELLCHECK_WARNING (CWE-563): [#def66]
/usr/share/doc/readline-devel/rlfe/configure:1054:5: warning[SC2034]: x_libraries appears unused. Verify use (or export if used externally).
# 1052|     -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
# 1053|     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
# 1054|->     x_libraries=$ac_optarg ;;
# 1055|   
# 1056|     -*) as_fn_error $? "unrecognized option: \`$ac_option'

Error: SHELLCHECK_WARNING (CWE-398): [#def67]
/usr/share/doc/readline-devel/rlfe/configure:1068:12: warning[SC2163]: This does not export 'ac_envvar'. Remove $/${} for that, or use ${var?} to quiet.
# 1066|       esac
# 1067|       eval $ac_envvar=\$ac_optarg
# 1068|->     export $ac_envvar ;;
# 1069|   
# 1070|     *)

Error: SHELLCHECK_WARNING (CWE-457): [#def68]
/usr/share/doc/readline-devel/rlfe/configure:1087:8: warning[SC2154]: enable_option_checking is referenced but not assigned.
# 1085|   
# 1086|   if test -n "$ac_unrecognized_opts"; then
# 1087|->   case $enable_option_checking in
# 1088|       no) ;;
# 1089|       fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;

Error: SHELLCHECK_WARNING: [#def69]
/usr/share/doc/readline-devel/rlfe/configure:1089:24: warning[SC2319]: This $? refers to a condition, not a command. Assign to a variable to avoid it being overwritten.
# 1087|     case $enable_option_checking in
# 1088|       no) ;;
# 1089|->     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
# 1090|       *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
# 1091|     esac

Error: SHELLCHECK_WARNING (CWE-563): [#def70]
/usr/share/doc/readline-devel/rlfe/configure:1118:1: warning[SC2034]: build appears unused. Verify use (or export if used externally).
# 1116|   # used to hold the argument of --host etc.
# 1117|   # FIXME: To remove some day.
# 1118|-> build=$build_alias
# 1119|   host=$host_alias
# 1120|   target=$target_alias

Error: SHELLCHECK_WARNING (CWE-563): [#def71]
/usr/share/doc/readline-devel/rlfe/configure:1119:1: warning[SC2034]: host appears unused. Verify use (or export if used externally).
# 1117|   # FIXME: To remove some day.
# 1118|   build=$build_alias
# 1119|-> host=$host_alias
# 1120|   target=$target_alias
# 1121|   

Error: SHELLCHECK_WARNING (CWE-563): [#def72]
/usr/share/doc/readline-devel/rlfe/configure:1120:1: warning[SC2034]: target appears unused. Verify use (or export if used externally).
# 1118|   build=$build_alias
# 1119|   host=$host_alias
# 1120|-> target=$target_alias
# 1121|   
# 1122|   # FIXME: To remove some day.

Error: SHELLCHECK_WARNING: [#def73]
/usr/share/doc/readline-devel/rlfe/configure:1144:15: warning[SC2319]: This $? refers to a condition, not a command. Assign to a variable to avoid it being overwritten.
# 1142|     as_fn_error $? "working directory cannot be determined"
# 1143|   test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
# 1144|->   as_fn_error $? "pwd does not report name of working directory"
# 1145|   
# 1146|   

Error: SHELLCHECK_WARNING (CWE-569): [#def74]
/usr/share/doc/readline-devel/rlfe/configure:1200:31: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
# 1198|   esac
# 1199|   for ac_var in $ac_precious_vars; do
# 1200|->   eval ac_env_${ac_var}_set=\${${ac_var}+set}
# 1201|     eval ac_env_${ac_var}_value=\$${ac_var}
# 1202|     eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}

Error: SHELLCHECK_WARNING (CWE-569): [#def75]
/usr/share/doc/readline-devel/rlfe/configure:1200:45: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
# 1198|   esac
# 1199|   for ac_var in $ac_precious_vars; do
# 1200|->   eval ac_env_${ac_var}_set=\${${ac_var}+set}
# 1201|     eval ac_env_${ac_var}_value=\$${ac_var}
# 1202|     eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}

Error: SHELLCHECK_WARNING (CWE-569): [#def76]
/usr/share/doc/readline-devel/rlfe/configure:1202:34: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
# 1200|     eval ac_env_${ac_var}_set=\${${ac_var}+set}
# 1201|     eval ac_env_${ac_var}_value=\$${ac_var}
# 1202|->   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
# 1203|     eval ac_cv_env_${ac_var}_value=\$${ac_var}
# 1204|   done

Error: SHELLCHECK_WARNING (CWE-569): [#def77]
/usr/share/doc/readline-devel/rlfe/configure:1202:48: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
# 1200|     eval ac_env_${ac_var}_set=\${${ac_var}+set}
# 1201|     eval ac_env_${ac_var}_value=\$${ac_var}
# 1202|->   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
# 1203|     eval ac_cv_env_${ac_var}_value=\$${ac_var}
# 1204|   done

Error: SHELLCHECK_WARNING (CWE-457): [#def78]
/usr/share/doc/readline-devel/rlfe/configure:1302:19: warning[SC2154]: ac_subdirs_all is referenced but not assigned.
# 1300|   if test "$ac_init_help" = "recursive"; then
# 1301|     # If there are subdirs, report their specific --help.
# 1302|->   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
# 1303|       test -d "$ac_dir" ||
# 1304|         { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||

Error: SHELLCHECK_WARNING (CWE-563): [#def79]
/usr/share/doc/readline-devel/rlfe/configure:1306:5: warning[SC2034]: ac_builddir appears unused. Verify use (or export if used externally).
# 1304|         { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
# 1305|         continue
# 1306|->     ac_builddir=.
# 1307|   
# 1308|   case "$ac_dir" in

Error: SHELLCHECK_WARNING (CWE-480): [#def80]
/usr/share/doc/readline-devel/rlfe/configure:1309:18: warning[SC1007]: Remove space after = if trying to assign a value (for empty string, use var='' ... ).
# 1307|   
# 1308|   case "$ac_dir" in
# 1309|-> .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
# 1310|   *)
# 1311|     ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`

Error: SHELLCHECK_WARNING (CWE-563): [#def81]
/usr/share/doc/readline-devel/rlfe/configure:1319:1: warning[SC2034]: ac_abs_top_builddir appears unused. Verify use (or export if used externally).
# 1317|     esac ;;
# 1318|   esac
# 1319|-> ac_abs_top_builddir=$ac_pwd
# 1320|   ac_abs_builddir=$ac_pwd$ac_dir_suffix
# 1321|   # for backward compatibility:

Error: SHELLCHECK_WARNING (CWE-563): [#def82]
/usr/share/doc/readline-devel/rlfe/configure:1320:1: warning[SC2034]: ac_abs_builddir appears unused. Verify use (or export if used externally).
# 1318|   esac
# 1319|   ac_abs_top_builddir=$ac_pwd
# 1320|-> ac_abs_builddir=$ac_pwd$ac_dir_suffix
# 1321|   # for backward compatibility:
# 1322|   ac_top_builddir=$ac_top_build_prefix

Error: SHELLCHECK_WARNING (CWE-563): [#def83]
/usr/share/doc/readline-devel/rlfe/configure:1322:1: warning[SC2034]: ac_top_builddir appears unused. Verify use (or export if used externally).
# 1320|   ac_abs_builddir=$ac_pwd$ac_dir_suffix
# 1321|   # for backward compatibility:
# 1322|-> ac_top_builddir=$ac_top_build_prefix
# 1323|   
# 1324|   case $srcdir in

Error: SHELLCHECK_WARNING (CWE-563): [#def84]
/usr/share/doc/readline-devel/rlfe/configure:1335:5: warning[SC2034]: ac_top_srcdir appears unused. Verify use (or export if used externally).
# 1333|     *) # Relative name.
# 1334|       ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
# 1335|->     ac_top_srcdir=$ac_top_build_prefix$srcdir
# 1336|       ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
# 1337|   esac

Error: SHELLCHECK_WARNING (CWE-563): [#def85]
/usr/share/doc/readline-devel/rlfe/configure:1338:1: warning[SC2034]: ac_abs_srcdir appears unused. Verify use (or export if used externally).
# 1336|       ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
# 1337|   esac
# 1338|-> ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
# 1339|   
# 1340|       cd "$ac_dir" || { ac_status=$?; continue; }

Error: SHELLCHECK_WARNING (CWE-569): [#def86]
/usr/share/doc/readline-devel/rlfe/configure:1474:3: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 1472|          } && test -s conftest$ac_exeext && {
# 1473|   	 test "$cross_compiling" = yes ||
# 1474|-> 	 $as_test_x conftest$ac_exeext
# 1475|          }; then :
# 1476|     ac_retval=0

Error: SHELLCHECK_WARNING (CWE-569): [#def87]
/usr/share/doc/readline-devel/rlfe/configure:1543:11: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
# 1541|     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# 1542|   $as_echo_n "checking for $2... " >&6; }
# 1543|-> if eval \${$3+:} false; then :
# 1544|     $as_echo_n "(cached) " >&6
# 1545|   else

Error: SHELLCHECK_WARNING (CWE-569): [#def88]
/usr/share/doc/readline-devel/rlfe/configure:1543:16: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
# 1541|     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# 1542|   $as_echo_n "checking for $2... " >&6; }
# 1543|-> if eval \${$3+:} false; then :
# 1544|     $as_echo_n "(cached) " >&6
# 1545|   else

Error: SHELLCHECK_WARNING (CWE-569): [#def89]
/usr/share/doc/readline-devel/rlfe/configure:1610:13: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
# 1608|   {
# 1609|     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
# 1610|->   if eval \${$3+:} false; then :
# 1611|     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# 1612|   $as_echo_n "checking for $2... " >&6; }

Error: SHELLCHECK_WARNING (CWE-569): [#def90]
/usr/share/doc/readline-devel/rlfe/configure:1610:18: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
# 1608|   {
# 1609|     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
# 1610|->   if eval \${$3+:} false; then :
# 1611|     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# 1612|   $as_echo_n "checking for $2... " >&6; }

Error: SHELLCHECK_WARNING (CWE-569): [#def91]
/usr/share/doc/readline-devel/rlfe/configure:1613:11: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
# 1611|     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# 1612|   $as_echo_n "checking for $2... " >&6; }
# 1613|-> if eval \${$3+:} false; then :
# 1614|     $as_echo_n "(cached) " >&6
# 1615|   fi

Error: SHELLCHECK_WARNING (CWE-569): [#def92]
/usr/share/doc/readline-devel/rlfe/configure:1613:16: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
# 1611|     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# 1612|   $as_echo_n "checking for $2... " >&6; }
# 1613|-> if eval \${$3+:} false; then :
# 1614|     $as_echo_n "(cached) " >&6
# 1615|   fi

Error: SHELLCHECK_WARNING (CWE-569): [#def93]
/usr/share/doc/readline-devel/rlfe/configure:1676:11: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
# 1674|     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# 1675|   $as_echo_n "checking for $2... " >&6; }
# 1676|-> if eval \${$3+:} false; then :
# 1677|     $as_echo_n "(cached) " >&6
# 1678|   else

Error: SHELLCHECK_WARNING (CWE-569): [#def94]
/usr/share/doc/readline-devel/rlfe/configure:1676:16: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
# 1674|     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# 1675|   $as_echo_n "checking for $2... " >&6; }
# 1676|-> if eval \${$3+:} false; then :
# 1677|     $as_echo_n "(cached) " >&6
# 1678|   else

Error: SHELLCHECK_WARNING (CWE-569): [#def95]
/usr/share/doc/readline-devel/rlfe/configure:1698:11: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
# 1696|     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# 1697|   $as_echo_n "checking for $2... " >&6; }
# 1698|-> if eval \${$3+:} false; then :
# 1699|     $as_echo_n "(cached) " >&6
# 1700|   else

Error: SHELLCHECK_WARNING (CWE-569): [#def96]
/usr/share/doc/readline-devel/rlfe/configure:1698:16: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
# 1696|     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
# 1697|   $as_echo_n "checking for $2... " >&6; }
# 1698|-> if eval \${$3+:} false; then :
# 1699|     $as_echo_n "(cached) " >&6
# 1700|   else

Error: SHELLCHECK_WARNING (CWE-457): [#def97]
/usr/share/doc/readline-devel/rlfe/configure:1829:6: warning[SC2154]: exit_status is referenced but not assigned.
# 1827|   # WARNING: Use '\'' to represent an apostrophe within the trap.
# 1828|   # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
# 1829|-> trap 'exit_status=$?
# 1830|     # Save into config.log some information that might help in debugging.
# 1831|     {

Error: SHELLCHECK_WARNING (CWE-569): [#def98]
/usr/share/doc/readline-devel/rlfe/configure:2000:3: warning[SC2188]: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
# 1998|     { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
# 1999|   $as_echo "$as_me: creating cache $cache_file" >&6;}
# 2000|->   >$cache_file
# 2001|   fi
# 2002|   

Error: SHELLCHECK_WARNING (CWE-457): [#def99]
/usr/share/doc/readline-devel/rlfe/configure:2011:8: warning[SC2154]: ac_old_set is referenced but not assigned.
# 2009|     eval ac_old_val=\$ac_cv_env_${ac_var}_value
# 2010|     eval ac_new_val=\$ac_env_${ac_var}_value
# 2011|->   case $ac_old_set,$ac_new_set in
# 2012|       set,)
# 2013|         { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5

Error: SHELLCHECK_WARNING (CWE-457): [#def100]
/usr/share/doc/readline-devel/rlfe/configure:2011:20: warning[SC2154]: ac_new_set is referenced but not assigned.
# 2009|     eval ac_old_val=\$ac_cv_env_${ac_var}_value
# 2010|     eval ac_new_val=\$ac_env_${ac_var}_value
# 2011|->   case $ac_old_set,$ac_new_set in
# 2012|       set,)
# 2013|         { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5

Error: SHELLCHECK_WARNING (CWE-457): [#def101]
/usr/share/doc/readline-devel/rlfe/configure:2013:79: warning[SC2154]: ac_old_val is referenced but not assigned (did you mean 'ac_old_val_w'?).
# 2011|     case $ac_old_set,$ac_new_set in
# 2012|       set,)
# 2013|->       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
# 2014|   $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
# 2015|         ac_cache_corrupted=: ;;

Error: SHELLCHECK_WARNING (CWE-457): [#def102]
/usr/share/doc/readline-devel/rlfe/configure:2022:35: warning[SC2154]: ac_new_val is referenced but not assigned (did you mean 'ac_new_val_w'?).
# 2020|       ,);;
# 2021|       *)
# 2022|->       if test "x$ac_old_val" != "x$ac_new_val"; then
# 2023|   	# differences in whitespace do not lead to failure.
# 2024|   	ac_old_val_w=`echo x $ac_old_val`

Error: SHELLCHECK_WARNING (CWE-563): [#def103]
/usr/share/doc/readline-devel/rlfe/configure:2073:1: warning[SC2034]: VERSION appears unused. Verify use (or export if used externally).
# 2071|   ac_config_headers="$ac_config_headers config.h"
# 2072|   
# 2073|-> VERSION=0.4
# 2074|   
# 2075|   

Error: SHELLCHECK_WARNING (CWE-563): [#def104]
/usr/share/doc/readline-devel/rlfe/configure:2077:1: warning[SC2034]: old_CFLAGS appears unused. Verify use (or export if used externally).
# 2075|   
# 2076|   
# 2077|-> old_CFLAGS="$CFLAGS"
# 2078|   ac_ext=c
# 2079|   ac_cpp='$CPP $CPPFLAGS'

Error: SHELLCHECK_WARNING (CWE-456): [#def105]
/usr/share/doc/readline-devel/rlfe/configure:2085:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 2083|   if test -n "$ac_tool_prefix"; then
# 2084|     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
# 2085|-> set dummy ${ac_tool_prefix}gcc; ac_word=$2
# 2086|   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
# 2087|   $as_echo_n "checking for $ac_word... " >&6; }

Error: SHELLCHECK_WARNING (CWE-457): [#def106]
/usr/share/doc/readline-devel/rlfe/configure:2099:27: warning[SC2154]: ac_executable_extensions is referenced but not assigned.
# 2097|     IFS=$as_save_IFS
# 2098|     test -z "$as_dir" && as_dir=.
# 2099|->     for ac_exec_ext in '' $ac_executable_extensions; do
# 2100|     if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
# 2101|       ac_cv_prog_CC="${ac_tool_prefix}gcc"

Error: SHELLCHECK_WARNING (CWE-569): [#def107]
/usr/share/doc/readline-devel/rlfe/configure:2100:50: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 2098|     test -z "$as_dir" && as_dir=.
# 2099|       for ac_exec_ext in '' $ac_executable_extensions; do
# 2100|->   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
# 2101|       ac_cv_prog_CC="${ac_tool_prefix}gcc"
# 2102|       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5

Error: SHELLCHECK_WARNING (CWE-456): [#def108]
/usr/share/doc/readline-devel/rlfe/configure:2125:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 2123|     ac_ct_CC=$CC
# 2124|     # Extract the first word of "gcc", so it can be a program name with args.
# 2125|-> set dummy gcc; ac_word=$2
# 2126|   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
# 2127|   $as_echo_n "checking for $ac_word... " >&6; }

Error: SHELLCHECK_WARNING (CWE-569): [#def109]
/usr/share/doc/readline-devel/rlfe/configure:2140:50: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 2138|     test -z "$as_dir" && as_dir=.
# 2139|       for ac_exec_ext in '' $ac_executable_extensions; do
# 2140|->   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
# 2141|       ac_cv_prog_ac_ct_CC="gcc"
# 2142|       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5

Error: SHELLCHECK_WARNING (CWE-456): [#def110]
/usr/share/doc/readline-devel/rlfe/configure:2178:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 2176|             if test -n "$ac_tool_prefix"; then
# 2177|       # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
# 2178|-> set dummy ${ac_tool_prefix}cc; ac_word=$2
# 2179|   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
# 2180|   $as_echo_n "checking for $ac_word... " >&6; }

Error: SHELLCHECK_WARNING (CWE-569): [#def111]
/usr/share/doc/readline-devel/rlfe/configure:2193:50: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 2191|     test -z "$as_dir" && as_dir=.
# 2192|       for ac_exec_ext in '' $ac_executable_extensions; do
# 2193|->   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
# 2194|       ac_cv_prog_CC="${ac_tool_prefix}cc"
# 2195|       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5

Error: SHELLCHECK_WARNING (CWE-456): [#def112]
/usr/share/doc/readline-devel/rlfe/configure:2218:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 2216|   if test -z "$CC"; then
# 2217|     # Extract the first word of "cc", so it can be a program name with args.
# 2218|-> set dummy cc; ac_word=$2
# 2219|   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
# 2220|   $as_echo_n "checking for $ac_word... " >&6; }

Error: SHELLCHECK_WARNING (CWE-569): [#def113]
/usr/share/doc/readline-devel/rlfe/configure:2234:50: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 2232|     test -z "$as_dir" && as_dir=.
# 2233|       for ac_exec_ext in '' $ac_executable_extensions; do
# 2234|->   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
# 2235|       if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
# 2236|          ac_prog_rejected=yes

Error: SHELLCHECK_WARNING (CWE-456): [#def114]
/usr/share/doc/readline-devel/rlfe/configure:2249:7: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 2247|   if test $ac_prog_rejected = yes; then
# 2248|     # We found a bogon in the path, so make sure we never use it.
# 2249|->   set dummy $ac_cv_prog_CC
# 2250|     shift
# 2251|     if test $# != 0; then

Error: SHELLCHECK_WARNING (CWE-569): [#def115]
/usr/share/doc/readline-devel/rlfe/configure:2256:19: warning[SC2124]: Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
# 2254|       # first if we set CC to just the basename; use the full file name.
# 2255|       shift
# 2256|->     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
# 2257|     fi
# 2258|   fi

Error: SHELLCHECK_WARNING (CWE-1164): [#def116]
/usr/share/doc/readline-devel/rlfe/configure:2274:18: warning[SC2043]: This loop will only ever run once. Bad quoting or missing glob/expansion?
# 2272|   if test -z "$CC"; then
# 2273|     if test -n "$ac_tool_prefix"; then
# 2274|->   for ac_prog in cl.exe
# 2275|     do
# 2276|       # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.

Error: SHELLCHECK_WARNING (CWE-456): [#def117]
/usr/share/doc/readline-devel/rlfe/configure:2277:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 2275|     do
# 2276|       # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
# 2277|-> set dummy $ac_tool_prefix$ac_prog; ac_word=$2
# 2278|   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
# 2279|   $as_echo_n "checking for $ac_word... " >&6; }

Error: SHELLCHECK_WARNING (CWE-569): [#def118]
/usr/share/doc/readline-devel/rlfe/configure:2292:50: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 2290|     test -z "$as_dir" && as_dir=.
# 2291|       for ac_exec_ext in '' $ac_executable_extensions; do
# 2292|->   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
# 2293|       ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
# 2294|       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5

Error: SHELLCHECK_WARNING (CWE-1164): [#def119]
/usr/share/doc/readline-devel/rlfe/configure:2318:18: warning[SC2043]: This loop will only ever run once. Bad quoting or missing glob/expansion?
# 2316|   if test -z "$CC"; then
# 2317|     ac_ct_CC=$CC
# 2318|->   for ac_prog in cl.exe
# 2319|   do
# 2320|     # Extract the first word of "$ac_prog", so it can be a program name with args.

Error: SHELLCHECK_WARNING (CWE-456): [#def120]
/usr/share/doc/readline-devel/rlfe/configure:2321:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 2319|   do
# 2320|     # Extract the first word of "$ac_prog", so it can be a program name with args.
# 2321|-> set dummy $ac_prog; ac_word=$2
# 2322|   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
# 2323|   $as_echo_n "checking for $ac_word... " >&6; }

Error: SHELLCHECK_WARNING (CWE-569): [#def121]
/usr/share/doc/readline-devel/rlfe/configure:2336:50: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 2334|     test -z "$as_dir" && as_dir=.
# 2335|       for ac_exec_ext in '' $ac_executable_extensions; do
# 2336|->   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
# 2337|       ac_cv_prog_ac_ct_CC="$ac_prog"
# 2338|       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5

Error: SHELLCHECK_WARNING (CWE-456): [#def122]
/usr/share/doc/readline-devel/rlfe/configure:2383:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 2381|   # Provide some information about the compiler.
# 2382|   $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
# 2383|-> set X $ac_compile
# 2384|   ac_compiler=$2
# 2385|   for ac_option in --version -v -V -qversion; do

Error: SHELLCHECK_WARNING (CWE-569): [#def123]
/usr/share/doc/readline-devel/rlfe/configure:3023:36: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 3021|       for ac_exec_ext in '' $ac_executable_extensions; do
# 3022|         ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
# 3023|->       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
# 3024|   # Check for GNU ac_path_GREP and select it if it is found.
# 3025|     # Check for GNU $ac_path_GREP

Error: SHELLCHECK_WARNING: [#def124]
/usr/share/doc/readline-devel/rlfe/configure:3058:17: warning[SC2319]: This $? refers to a condition, not a command. Assign to a variable to avoid it being overwritten.
# 3056|   IFS=$as_save_IFS
# 3057|     if test -z "$ac_cv_path_GREP"; then
# 3058|->     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
# 3059|     fi
# 3060|   else

Error: SHELLCHECK_WARNING (CWE-1164): [#def125]
/usr/share/doc/readline-devel/rlfe/configure:3086:20: warning[SC2043]: This loop will only ever run once. Bad quoting or missing glob/expansion?
# 3084|     IFS=$as_save_IFS
# 3085|     test -z "$as_dir" && as_dir=.
# 3086|->     for ac_prog in egrep; do
# 3087|       for ac_exec_ext in '' $ac_executable_extensions; do
# 3088|         ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"

Error: SHELLCHECK_WARNING (CWE-569): [#def126]
/usr/share/doc/readline-devel/rlfe/configure:3089:37: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 3087|       for ac_exec_ext in '' $ac_executable_extensions; do
# 3088|         ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
# 3089|->       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
# 3090|   # Check for GNU ac_path_EGREP and select it if it is found.
# 3091|     # Check for GNU $ac_path_EGREP

Error: SHELLCHECK_WARNING: [#def127]
/usr/share/doc/readline-devel/rlfe/configure:3124:17: warning[SC2319]: This $? refers to a condition, not a command. Assign to a variable to avoid it being overwritten.
# 3122|   IFS=$as_save_IFS
# 3123|     if test -z "$ac_cv_path_EGREP"; then
# 3124|->     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
# 3125|     fi
# 3126|   else

Error: SHELLCHECK_WARNING (CWE-457): [#def128]
/usr/share/doc/readline-devel/rlfe/configure:3257:9: warning[SC2154]: configure_args is referenced but not assigned.
# 3255|   CC=cc
# 3256|   export CC
# 3257|-> exec $0 $configure_args
# 3258|   fi
# 3259|   

Error: SHELLCHECK_WARNING: [#def129]
/usr/share/doc/readline-devel/rlfe/configure:3285:13: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
# 3283|   echo "$ac_compile" 1>&6
# 3284|   
# 3285|-> as_fn_error $? "Can't run the compiler - sorry" "$LINENO" 5
# 3286|   fi
# 3287|   rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \

Error: SHELLCHECK_WARNING (CWE-456): [#def130]
/usr/share/doc/readline-devel/rlfe/configure:3319:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 3317|   do
# 3318|     # Extract the first word of "$ac_prog", so it can be a program name with args.
# 3319|-> set dummy $ac_prog; ac_word=$2
# 3320|   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
# 3321|   $as_echo_n "checking for $ac_word... " >&6; }

Error: SHELLCHECK_WARNING (CWE-569): [#def131]
/usr/share/doc/readline-devel/rlfe/configure:3334:50: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 3332|     test -z "$as_dir" && as_dir=.
# 3333|       for ac_exec_ext in '' $ac_executable_extensions; do
# 3334|->   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
# 3335|       ac_cv_prog_AWK="$ac_prog"
# 3336|       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5

Error: SHELLCHECK_WARNING (CWE-1164): [#def132]
/usr/share/doc/readline-devel/rlfe/configure:3759:16: warning[SC2043]: This loop will only ever run once. Bad quoting or missing glob/expansion?
# 3757|   fi
# 3758|   
# 3759|-> for ac_func in getpt
# 3760|   do :
# 3761|     ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"

Error: SHELLCHECK_WARNING (CWE-457): [#def133]
/usr/share/doc/readline-devel/rlfe/configure:3762:11: warning[SC2154]: ac_cv_func_getpt is referenced but not assigned.
# 3760|   do :
# 3761|     ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"
# 3762|-> if test "x$ac_cv_func_getpt" = xyes; then :
# 3763|     cat >>confdefs.h <<_ACEOF
# 3764|   #define HAVE_GETPT 1

Error: SHELLCHECK_WARNING (CWE-563): [#def134]
/usr/share/doc/readline-devel/rlfe/configure:3772:1: warning[SC2034]: ac_func appears unused. Verify use (or export if used externally).
# 3770|   
# 3771|   if test -z "$sysvr4ptys"; then
# 3772|-> for ac_func in openpty
# 3773|   do :
# 3774|     ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty"

Error: SHELLCHECK_WARNING (CWE-1164): [#def135]
/usr/share/doc/readline-devel/rlfe/configure:3772:16: warning[SC2043]: This loop will only ever run once. Bad quoting or missing glob/expansion?
# 3770|   
# 3771|   if test -z "$sysvr4ptys"; then
# 3772|-> for ac_func in openpty
# 3773|   do :
# 3774|     ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty"

Error: SHELLCHECK_WARNING (CWE-457): [#def136]
/usr/share/doc/readline-devel/rlfe/configure:3775:11: warning[SC2154]: ac_cv_func_openpty is referenced but not assigned.
# 3773|   do :
# 3774|     ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty"
# 3775|-> if test "x$ac_cv_func_openpty" = xyes; then :
# 3776|     cat >>confdefs.h <<_ACEOF
# 3777|   #define HAVE_OPENPTY 1

Error: SHELLCHECK_WARNING (CWE-456): [#def137]
/usr/share/doc/readline-devel/rlfe/configure:3951:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 3949|       XTERMPATH=''
# 3950|       # Extract the first word of "write", so it can be a program name with args.
# 3951|-> set dummy write; ac_word=$2
# 3952|   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
# 3953|   $as_echo_n "checking for $ac_word... " >&6; }

Error: SHELLCHECK_WARNING (CWE-569): [#def138]
/usr/share/doc/readline-devel/rlfe/configure:3968:50: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 3966|     test -z "$as_dir" && as_dir=.
# 3967|       for ac_exec_ext in '' $ac_executable_extensions; do
# 3968|->   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
# 3969|       ac_cv_path_WRITEPATH="$as_dir/$ac_word$ac_exec_ext"
# 3970|       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5

Error: SHELLCHECK_WARNING (CWE-456): [#def139]
/usr/share/doc/readline-devel/rlfe/configure:3991:5: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 3989|   
# 3990|       # Extract the first word of "xterm", so it can be a program name with args.
# 3991|-> set dummy xterm; ac_word=$2
# 3992|   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
# 3993|   $as_echo_n "checking for $ac_word... " >&6; }

Error: SHELLCHECK_WARNING (CWE-569): [#def140]
/usr/share/doc/readline-devel/rlfe/configure:4008:50: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 4006|     test -z "$as_dir" && as_dir=.
# 4007|       for ac_exec_ext in '' $ac_executable_extensions; do
# 4008|->   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
# 4009|       ac_cv_path_XTERMPATH="$as_dir/$ac_word$ac_exec_ext"
# 4010|       $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5

Error: SHELLCHECK_WARNING (CWE-457): [#def141]
/usr/share/doc/readline-devel/rlfe/configure:4078:13: warning[SC2154]: posix is referenced but not assigned.
# 4076|   fi
# 4077|   
# 4078|-> if test -n "$posix" ; then
# 4079|   
# 4080|   echo "assuming posix signal definition" 1>&6

Error: SHELLCHECK_WARNING (CWE-569): [#def142]
/usr/share/doc/readline-devel/rlfe/configure:4312:54: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 4310|   		  inttypes.h stdint.h unistd.h
# 4311|   do :
# 4312|->   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
# 4313|   ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
# 4314|   "

Error: SHELLCHECK_WARNING (CWE-569): [#def143]
/usr/share/doc/readline-devel/rlfe/configure:4317:39: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 4315|   if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
# 4316|     cat >>confdefs.h <<_ACEOF
# 4317|-> #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
# 4318|   _ACEOF
# 4319|   

Error: SHELLCHECK_WARNING (CWE-569): [#def144]
/usr/share/doc/readline-devel/rlfe/configure:4327:54: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 4325|   for ac_header in sys/stropts.h sys/wait.h sgtty.h sys/select.h
# 4326|   do :
# 4327|->   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
# 4328|   ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
# 4329|   if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :

Error: SHELLCHECK_WARNING (CWE-569): [#def145]
/usr/share/doc/readline-devel/rlfe/configure:4331:39: warning[SC2090]: Quotes/backslashes in this variable will not be respected.
# 4329|   if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
# 4330|     cat >>confdefs.h <<_ACEOF
# 4331|-> #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
# 4332|   _ACEOF
# 4333|   

Error: SHELLCHECK_WARNING (CWE-1164): [#def146]
/usr/share/doc/readline-devel/rlfe/configure:4338:18: warning[SC2043]: This loop will only ever run once. Bad quoting or missing glob/expansion?
# 4336|   done
# 4337|   
# 4338|-> for ac_header in term.h
# 4339|   do :
# 4340|     ac_fn_c_check_header_mongrel "$LINENO" "term.h" "ac_cv_header_term_h" "$ac_includes_default"

Error: SHELLCHECK_WARNING (CWE-457): [#def147]
/usr/share/doc/readline-devel/rlfe/configure:4341:11: warning[SC2154]: ac_cv_header_term_h is referenced but not assigned.
# 4339|   do :
# 4340|     ac_fn_c_check_header_mongrel "$LINENO" "term.h" "ac_cv_header_term_h" "$ac_includes_default"
# 4341|-> if test "x$ac_cv_header_term_h" = xyes; then :
# 4342|     cat >>confdefs.h <<_ACEOF
# 4343|   #define HAVE_TERM_H 1

Error: SHELLCHECK_WARNING (CWE-563): [#def148]
/usr/share/doc/readline-devel/rlfe/configure:4392:18: warning[SC2034]: ac_space appears unused. Verify use (or export if used externally).
# 4390|   
# 4391|     (set) 2>&1 |
# 4392|->     case $as_nl`(ac_space=' '; set) 2>&1` in #(
# 4393|       *${as_nl}ac_space=\ *)
# 4394|         # `set' does not quote correctly, so add quotes: double-quote

Error: SHELLCHECK_WARNING (CWE-563): [#def149]
/usr/share/doc/readline-devel/rlfe/configure:4443:1: warning[SC2034]: DEFS appears unused. Verify use (or export if used externally).
# 4441|   test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
# 4442|   
# 4443|-> DEFS=-DHAVE_CONFIG_H
# 4444|   
# 4445|   ac_libobjs=

Error: SHELLCHECK_WARNING (CWE-563): [#def150]
/usr/share/doc/readline-devel/rlfe/configure:4447:1: warning[SC2034]: U appears unused. Verify use (or export if used externally).
# 4445|   ac_libobjs=
# 4446|   ac_ltlibobjs=
# 4447|-> U=
# 4448|   for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
# 4449|     # 1. Remove the extension, and $U if already installed.

Error: SHELLCHECK_WARNING (CWE-563): [#def151]
/usr/share/doc/readline-devel/rlfe/configure:4459:1: warning[SC2034]: LTLIBOBJS appears unused. Verify use (or export if used externally).
# 4457|   LIBOBJS=$ac_libobjs
# 4458|   
# 4459|-> LTLIBOBJS=$ac_ltlibobjs
# 4460|   
# 4461|   

Error: SHELLCHECK_WARNING (CWE-456): [#def152]
/usr/share/doc/readline-devel/rlfe/configure:4886:9: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 4884|   
# 4885|   case $ac_config_files in *"
# 4886|-> "*) set x $ac_config_files; shift; ac_config_files=$*;;
# 4887|   esac
# 4888|   

Error: SHELLCHECK_WARNING (CWE-456): [#def153]
/usr/share/doc/readline-devel/rlfe/configure:4890:9: warning[SC2121]: To assign a variable, use just 'var=value', no 'set ..'.
# 4888|   
# 4889|   case $ac_config_headers in *"
# 4890|-> "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
# 4891|   esac
# 4892|   

Error: SHELLCHECK_WARNING (CWE-569): [#def154]
/usr/share/doc/readline-devel/rlfe/configure:5287:12: warning[SC2125]: Brace expansions and globs are literal in assignments. Quote it or use an array.
# 5285|   # newline sequences.
# 5286|   
# 5287|-> ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
# 5288|   sed -n '
# 5289|   s/.\{148\}/&'"$ac_delim"'/g

Error: SHELLCHECK_WARNING (CWE-457): [#def155]
/usr/share/doc/readline-devel/rlfe/configure:5538:1: warning[SC2154]: extrasub is referenced but not assigned.
# 5536|   cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
# 5537|   ac_sed_extra="$ac_vpsub
# 5538|-> $extrasub
# 5539|   _ACEOF
# 5540|   cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1

Error: SHELLCHECK_WARNING: [#def156]
/usr/share/doc/readline-devel/rlfe/configure:5610:15: warning[SC2319]: This $? refers to a condition, not a command. Assign to a variable to avoid it being overwritten.
# 5608|   
# 5609|   test $ac_write_fail = 0 ||
# 5610|->   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
# 5611|   
# 5612|   

Error: COMPILER_WARNING (CWE-569): [#def157]
readline-8.2-build/readline-8.2/bind.c: scope_hint: In function ‘_rl_skip_to_delim’
readline-8.2-build/readline-8.2/bind.c:1591:29: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
# 1591 |   for (i = start,passc = 0; c = string[i]; i++)
#      |                             ^
# 1589|     int i, c, passc;
# 1590|   
# 1591|->   for (i = start,passc = 0; c = string[i]; i++)
# 1592|       {
# 1593|         if (passc)

Error: COMPILER_WARNING (CWE-563): [#def158]
readline-8.2-build/readline-8.2/bind.c: scope_hint: In function ‘rl_parse_and_bind’
readline-8.2-build/readline-8.2/bind.c:1685:11: warning[-Wunused-variable]: unused variable ‘s’
# 1685 |       int s;
#      |           ^
# 1683|       {
# 1684|         char *var, *value, *e;
# 1685|->       int s;
# 1686|   
# 1687|         var = string + i;

Error: COMPILER_WARNING (CWE-569): [#def159]
readline-8.2-build/readline-8.2/bind.c: scope_hint: In function ‘rl_function_dumper’
readline-8.2-build/readline-8.2/bind.c:2815:15: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
# 2815 |   for (i = 0; name = names[i]; i++)
#      |               ^~~~
# 2813|     fprintf (rl_outstream, "\n");
# 2814|   
# 2815|->   for (i = 0; name = names[i]; i++)
# 2816|       {
# 2817|         rl_command_func_t *function;

Error: COMPILER_WARNING (CWE-457): [#def160]
readline-8.2-build/readline-8.2/complete.c: scope_hint: In function ‘print_filename’
readline-8.2-build/readline-8.2/complete.c:1043:22: warning[-Wmaybe-uninitialized]: ‘printed_len’ may be used uninitialized
# 1043 |           printed_len++;
#      |           ~~~~~~~~~~~^~
readline-8.2-build/readline-8.2/complete.c:936:7: note: ‘printed_len’ was declared here
#  936 |   int printed_len, extension_char, slen, tlen;
#      |       ^~~~~~~~~~~
# 1041|   	{
# 1042|   	  putc (extension_char, rl_outstream);
# 1043|-> 	  printed_len++;
# 1044|   	}
# 1045|       }

Error: COMPILER_WARNING (CWE-569): [#def161]
readline-8.2-build/readline-8.2/complete.c: scope_hint: In function ‘_rl_find_completion_word’
readline-8.2-build/readline-8.2/complete.c:1151:14: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
# 1151 |       while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
#      |              ^~~~~~~~
# 1149|            completion, so use the word break characters to find the
# 1150|            substring on which to complete. */
# 1151|->       while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
# 1152|   	{
# 1153|   	  scan = rl_line_buffer[rl_point];

Error: CPPCHECK_WARNING (CWE-562): [#def162]
readline-8.2-build/readline-8.2/complete.c:1280: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
# 1278|   	{
# 1279|   	  xfree (matches[i]);
# 1280|-> 	  matches[i] = (char *)&dead_slot;
# 1281|   	}
# 1282|         else

Error: COMPILER_WARNING (CWE-563): [#def163]
readline-8.2-build/readline-8.2/complete.c: scope_hint: In function ‘compute_lcd_of_matches’
readline-8.2-build/readline-8.2/complete.c:1323:7: warning[-Wunused-variable]: unused variable ‘v’
# 1323 |   int v;
#      |       ^
# 1321|     char *dtext;		/* dequoted TEXT, if needed */
# 1322|   #if defined (HANDLE_MULTIBYTE)
# 1323|->   int v;
# 1324|     size_t v1, v2;
# 1325|     mbstate_t ps1, ps2;

Error: COMPILER_WARNING (CWE-457): [#def164]
readline-8.2-build/readline-8.2/complete.c: scope_hint: In function ‘rl_complete_internal’
readline-8.2-build/readline-8.2/complete.c:2104:14: warning[-Wmaybe-uninitialized]: ‘tlen’ may be used uninitialized
# 2104 |           if (mlen >= tlen)
#      |              ^
readline-8.2-build/readline-8.2/complete.c:2007:7: note: ‘tlen’ was declared here
# 2007 |   int tlen, mlen, saved_last_completion_failed;
#      |       ^~~~
# 2102|   	{
# 2103|   	  mlen = *matches[0] ? strlen (matches[0]) : 0;
# 2104|-> 	  if (mlen >= tlen)
# 2105|   	    insert_match (matches[0], start, matches[1] ? MULT_MATCH : SINGLE_MATCH, &quote_char);
# 2106|   	}

Error: COMPILER_WARNING (CWE-569): [#def165]
readline-8.2-build/readline-8.2/complete.c: scope_hint: In function ‘rl_completion_matches’
readline-8.2-build/readline-8.2/complete.c:2235:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
# 2235 |   while (string = (*entry_function) (text, matches))
#      |          ^~~~~~
# 2233|     match_list[1] = (char *)NULL;
# 2234|   
# 2235|->   while (string = (*entry_function) (text, matches))
# 2236|       {
# 2237|         if (RL_SIG_RECEIVED ())

Error: COMPILER_WARNING (CWE-569): [#def166]
readline-8.2-build/readline-8.2/complete.c: scope_hint: In function ‘rl_username_completion_function’
readline-8.2-build/readline-8.2/complete.c:2307:10: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
# 2307 |   while (entry = getpwent ())
#      |          ^~~~~
# 2305|   
# 2306|   #if defined (HAVE_GETPWENT)
# 2307|->   while (entry = getpwent ())
# 2308|       {
# 2309|         /* Null usernames should result in all users as possible completions. */

Error: COMPILER_WARNING (CWE-563): [#def167]
readline-8.2-build/readline-8.2/complete.c: scope_hint: In function ‘rl_menu_complete’
readline-8.2-build/readline-8.2/complete.c:2850:25: warning[-Wunused-variable]: unused variable ‘cstate’
# 2850 |   static int delimiter, cstate;
#      |                         ^~~~~~
# 2848|     static int orig_start, orig_end;
# 2849|     static char quote_char;
# 2850|->   static int delimiter, cstate;
# 2851|   
# 2852|     /* The first time through, we generate the list of matches and set things

Error: COMPILER_WARNING (CWE-563): [#def168]
readline-8.2-build/readline-8.2/display.c:767:29: warning[-Wunused-variable]: unused variable ‘n0’
#  767 |   int newlines, lpos, temp, n0, num, prompt_lines_estimate;
#      |                             ^~
#  765|     int in, out, c, linenum, cursor_linenum;
#  766|     int inv_botlin, lb_botlin, lb_linenum, o_cpos;
#  767|->   int newlines, lpos, temp, n0, num, prompt_lines_estimate;
#  768|     char *prompt_this_line;
#  769|     char cur_face;

Error: COMPILER_WARNING (CWE-563): [#def169]
readline-8.2-build/readline-8.2/display.c:767:33: warning[-Wunused-but-set-variable]: variable ‘num’ set but not used
#  767 |   int newlines, lpos, temp, n0, num, prompt_lines_estimate;
#      |                                 ^~~
#  765|     int in, out, c, linenum, cursor_linenum;
#  766|     int inv_botlin, lb_botlin, lb_linenum, o_cpos;
#  767|->   int newlines, lpos, temp, n0, num, prompt_lines_estimate;
#  768|     char *prompt_this_line;
#  769|     char cur_face;

Error: COMPILER_WARNING (CWE-563): [#def170]
readline-8.2-build/readline-8.2/display.c: scope_hint: In function ‘rl_redisplay’
readline-8.2-build/readline-8.2/display.c:767:38: warning[-Wunused-but-set-variable]: variable ‘prompt_lines_estimate’ set but not used
#  767 |   int newlines, lpos, temp, n0, num, prompt_lines_estimate;
#      |                                      ^~~~~~~~~~~~~~~~~~~~~
#  765|     int in, out, c, linenum, cursor_linenum;
#  766|     int inv_botlin, lb_botlin, lb_linenum, o_cpos;
#  767|->   int newlines, lpos, temp, n0, num, prompt_lines_estimate;
#  768|     char *prompt_this_line;
#  769|     char cur_face;

Error: COMPILER_WARNING (CWE-457): [#def171]
readline-8.2-build/readline-8.2/display.c: scope_hint: In function ‘rl_redisplay’
readline-8.2-build/readline-8.2/display.c:1147:42: warning[-Wmaybe-uninitialized]: ‘wc_width’ may be used uninitialized
# 1147 |               if (_rl_screenwidth < lpos + wc_width)
#      |                                     ~~~~~^~~~~~~~~~
readline-8.2-build/readline-8.2/display.c:775:7: note: ‘wc_width’ was declared here
#  775 |   int wc_width;
#      |       ^~~~~~~~
# 1145|   	      _rl_wrapped_multicolumn = 0;
# 1146|   
# 1147|-> 	      if (_rl_screenwidth < lpos + wc_width)
# 1148|   		for (i = lpos; i < _rl_screenwidth; i++)
# 1149|   		  {

Error: COMPILER_WARNING (CWE-563): [#def172]
readline-8.2-build/readline-8.2/display.c:1655:39: warning[-Wunused-variable]: unused variable ‘twidth’
# 1655 |   int temp, lendiff, wsatend, od, nd, twidth, o_cpos;
#      |                                       ^~~~~~
# 1653|     char *ofd, *ols, *oe, *nfd, *nls, *ne;
# 1654|     char *ofdf, *nfdf, *olsf, *nlsf;
# 1655|->   int temp, lendiff, wsatend, od, nd, twidth, o_cpos;
# 1656|     int current_invis_chars;
# 1657|     int col_lendiff, col_temp;

Error: COMPILER_WARNING (CWE-563): [#def173]
readline-8.2-build/readline-8.2/display.c:1786:19: warning[-Wunused-variable]: unused variable ‘count’
# 1786 |               int count, i, j;
#      |                   ^~~~~
# 1784|   	  if (newwidth > 0)
# 1785|   	    {
# 1786|-> 	      int count, i, j;
# 1787|   	      char *optr;
# 1788|   

Error: COMPILER_WARNING (CWE-563): [#def174]
readline-8.2-build/readline-8.2/display.c: scope_hint: In function ‘update_line’
readline-8.2-build/readline-8.2/display.c:1787:21: warning[-Wunused-variable]: unused variable ‘optr’
# 1787 |               char *optr;
#      |                     ^~~~
# 1785|   	    {
# 1786|   	      int count, i, j;
# 1787|-> 	      char *optr;
# 1788|   
# 1789|   	      puts_face (new, new_face, newbytes);

Error: COMPILER_WARNING (CWE-563): [#def175]
readline-8.2-build/readline-8.2/display.c: scope_hint: In function ‘rl_forced_update_display’
readline-8.2-build/readline-8.2/display.c:2683:18: warning[-Wunused-variable]: unused variable ‘temp’
# 2683 |   register char *temp;
#      |                  ^~~~
# 2681|   rl_forced_update_display (void)
# 2682|   {
# 2683|->   register char *temp;
# 2684|   
# 2685|     if (visible_line)

Error: COMPILER_WARNING (CWE-1164): [#def176]
readline-8.2-build/readline-8.2/display.c: scope_hint: At top level
readline-8.2-build/readline-8.2/display.c:3236:1: warning[-Wunused-function]: ‘insert_some_chars’ defined but not used
# 3236 | insert_some_chars (char *string, int count, int col)
#      | ^~~~~~~~~~~~~~~~~
# 3234|   /* Insert COUNT characters from STRING to the output stream at column COL. */
# 3235|   static void
# 3236|-> insert_some_chars (char *string, int count, int col)
# 3237|   {
# 3238|     open_some_spaces (col);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def177]
readline-8.2-build/readline-8.2/funmap.c: scope_hint: In function ‘rl_funmap_names’
readline-8.2-build/readline-8.2/funmap.c:271:3: warning[-Wanalyzer-null-argument]: use of NULL ‘result’ where non-null expected
readline-8.2-build/readline-8.2/funmap.c:33: included_from: Included from here.
/usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null
#  269|       }
#  270|   
#  271|->   qsort (result, result_index, sizeof (char *), (QSFUNC *)_rl_qsort_string_compare);
#  272|     return (result);
#  273|   }

Error: COMPILER_WARNING (CWE-569): [#def178]
readline-8.2-build/readline-8.2/histexpand.c: scope_hint: In function ‘get_history_event’
readline-8.2-build/readline-8.2/histexpand.c:213:25: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
#  213 |   for (local_index = i; c = string[i]; i++)
#      |                         ^
#  211|   
#  212|     /* Only a closing `?' or a newline delimit a substring search string. */
#  213|->   for (local_index = i; c = string[i]; i++)
#  214|       {
#  215|   #if defined (HANDLE_MULTIBYTE)

Error: COMPILER_WARNING (CWE-563): [#def179]
readline-8.2-build/readline-8.2/histexpand.c: scope_hint: In function ‘history_expand_internal’
readline-8.2-build/readline-8.2/histexpand.c:682:48: warning[-Wunused-but-set-variable]: variable ‘ws’ set but not used
#  682 |             int delimiter, failed, si, l_temp, ws, we;
#      |                                                ^~
#  680|   	  {
#  681|   	    char *new_event;
#  682|-> 	    int delimiter, failed, si, l_temp, ws, we;
#  683|   
#  684|   	    if (c == 's')

Error: GCC_ANALYZER_WARNING (CWE-688): [#def180]
readline-8.2-build/readline-8.2/histexpand.c: scope_hint: In function ‘history_arg_extract’
readline-8.2-build/readline-8.2/histexpand.c:1452:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
readline-8.2-build/readline-8.2/histexpand.c: scope_hint: In function ‘history_arg_extract’
readline-8.2-build/readline-8.2/histexpand.c:46: included_from: Included from here.
readline-8.2-build/readline-8.2/histexpand.c:1484:7: note: in expansion of macro ‘member’
readline-8.2-build/readline-8.2/histexpand.c:1484:7: note: in expansion of macro ‘member’
readline-8.2-build/readline-8.2/histexpand.c: scope_hint: In function ‘history_arg_extract’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 1450|       {
# 1451|         for (size = 0, i = first; i < last; i++)
# 1452|-> 	size += strlen (list[i]) + 1;
# 1453|         result = (char *)xmalloc (size + 1);
# 1454|         result[0] = '\0';

Error: COMPILER_WARNING (CWE-1164): [#def181]
readline-8.2-build/readline-8.2/histfile.c:187:1: warning[-Wunused-function]: ‘history_backupfile’ defined but not used
#  187 | history_backupfile (const char *filename)
#      | ^~~~~~~~~~~~~~~~~~
#  185|   
#  186|   static char *
#  187|-> history_backupfile (const char *filename)
#  188|   {
#  189|     const char *fn;

Error: COMPILER_WARNING (CWE-563): [#def182]
readline-8.2-build/readline-8.2/histfile.c: scope_hint: In function ‘history_backupfile’
readline-8.2-build/readline-8.2/histfile.c:193:15: warning[-Wunused-variable]: unused variable ‘fs’
#  193 |   struct stat fs;
#      |               ^~
#  191|     size_t len;
#  192|     ssize_t n;
#  193|->   struct stat fs;
#  194|   
#  195|     fn = filename;  

Error: COMPILER_WARNING (CWE-563): [#def183]
readline-8.2-build/readline-8.2/histfile.c: scope_hint: In function ‘history_tempfile’
readline-8.2-build/readline-8.2/histfile.c:221:15: warning[-Wunused-variable]: unused variable ‘fs’
#  221 |   struct stat fs;
#      |               ^~
#  219|     size_t len;
#  220|     ssize_t n;
#  221|->   struct stat fs;
#  222|     int pid;
#  223|   

Error: COMPILER_WARNING (CWE-1164): [#def184]
readline-8.2-build/readline-8.2/histfile.c: scope_hint: At top level
readline-8.2-build/readline-8.2/histfile.c:473:1: warning[-Wunused-function]: ‘histfile_backup’ defined but not used
#  473 | histfile_backup (const char *filename, const char *back)
#      | ^~~~~~~~~~~~~~~
#  471|      (e.g., ~/.bash_history -> .histfiles/.bash_history.$HOSTNAME) */
#  472|   static int
#  473|-> histfile_backup (const char *filename, const char *back)
#  474|   {
#  475|   #if defined (HAVE_READLINK)

Error: COMPILER_WARNING (CWE-563): [#def185]
readline-8.2-build/readline-8.2/histfile.c: scope_hint: In function ‘history_truncate_file’
readline-8.2-build/readline-8.2/histfile.c:521:49: warning[-Wunused-but-set-variable]: variable ‘r’ set but not used
#  521 |   int file, chars_read, rv, orig_lines, exists, r;
#      |                                                 ^
#  519|   {
#  520|     char *buffer, *filename, *tempname, *bp, *bp1;		/* bp1 == bp+1 */
#  521|->   int file, chars_read, rv, orig_lines, exists, r;
#  522|     struct stat finfo, nfinfo;
#  523|     size_t file_size;

Error: GCC_ANALYZER_WARNING (CWE-457): [#def186]
readline-8.2-build/readline-8.2/histfile.c: scope_hint: In function ‘history_truncate_file’
readline-8.2-build/readline-8.2/histfile.c:646:46: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘orig_lines’
#  644|     FREE (buffer);
#  645|   
#  646|->   history_lines_written_to_file = orig_lines - lines;
#  647|   
#  648|     if (rv == 0 && filename && tempname)

Error: COMPILER_WARNING (CWE-457): [#def187]
readline-8.2-build/readline-8.2/histfile.c: scope_hint: In function ‘history_truncate_file’
readline-8.2-build/readline-8.2/histfile.c:646:46: warning[-Wmaybe-uninitialized]: ‘orig_lines’ may be used uninitialized
#  646 |   history_lines_written_to_file = orig_lines - lines;
#      |                                   ~~~~~~~~~~~^~~~~~~
readline-8.2-build/readline-8.2/histfile.c:521:29: note: ‘orig_lines’ was declared here
#  521 |   int file, chars_read, rv, orig_lines, exists, r;
#      |                             ^~~~~~~~~~
#  644|     FREE (buffer);
#  645|   
#  646|->   history_lines_written_to_file = orig_lines - lines;
#  647|   
#  648|     if (rv == 0 && filename && tempname)

Error: COMPILER_WARNING (CWE-563): [#def188]
readline-8.2-build/readline-8.2/histfile.c: scope_hint: In function ‘history_do_write’
readline-8.2-build/readline-8.2/histfile.c:683:22: warning[-Wunused-variable]: unused variable ‘nfinfo’
#  683 |   struct stat finfo, nfinfo;
#      |                      ^~~~~~
#  681|     char *output, *tempname, *histname;
#  682|     int file, mode, rv, exists;
#  683|->   struct stat finfo, nfinfo;
#  684|   #ifdef HISTORY_USE_MMAP
#  685|     size_t cursize;

Error: COMPILER_WARNING (CWE-563): [#def189]
readline-8.2-build/readline-8.2/history.c: scope_hint: In function ‘add_history’
readline-8.2-build/readline-8.2/history.c:286:20: warning[-Wunused-variable]: unused variable ‘i’
#  286 |       register int i;
#      |                    ^
#  284|     if (history_stifled && (history_length == history_max_entries))
#  285|       {
#  286|->       register int i;
#  287|   
#  288|         /* If the history is stifled, and history_length is zero,

Error: COMPILER_WARNING (CWE-563): [#def190]
readline-8.2-build/readline-8.2/history.c: scope_hint: In function ‘remove_history’
readline-8.2-build/readline-8.2/history.c:489:16: warning[-Wunused-variable]: unused variable ‘i’
#  489 |   register int i;
#      |                ^
#  487|   {
#  488|     HIST_ENTRY *return_value;
#  489|->   register int i;
#  490|   #if 1
#  491|     int nentries;

Error: COMPILER_WARNING (CWE-569): [#def191]
readline-8.2-build/readline-8.2/histsearch.c: scope_hint: In function ‘_hs_history_patsearch’
readline-8.2-build/readline-8.2/histsearch.c:212:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
#  212 |   if (unescaped_backslash = (string[ret] == '\\'))
#      |       ^~~~~~~~~~~~~~~~~~~
#  210|     /* fnmatch is required to reject a pattern that ends with an unescaped
#  211|        backslash */
#  212|->   if (unescaped_backslash = (string[ret] == '\\'))
#  213|       {
#  214|         while (ret > 0 && string[--ret] == '\\')

Error: COMPILER_WARNING (CWE-569): [#def192]
readline-8.2-build/readline-8.2/input.c: scope_hint: In function ‘rl_read_key’
readline-8.2-build/readline-8.2/input.c:766:11: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
#  766 |       if (c = _rl_next_macro_key ())
#      |           ^
#  764|       {
#  765|         /* If input is coming from a macro, then use that. */
#  766|->       if (c = _rl_next_macro_key ())
#  767|   	return ((unsigned char)c);
#  768|   

Error: COMPILER_WARNING (CWE-563): [#def193]
readline-8.2-build/readline-8.2/input.c:811:12: warning[-Wunused-variable]: unused variable ‘empty_set’
#  811 |   sigset_t empty_set;
#      |            ^~~~~~~~~
#  809|     int fd;
#  810|   #if defined (HAVE_PSELECT) || defined (HAVE_SELECT)
#  811|->   sigset_t empty_set;
#  812|     fd_set readfds;
#  813|   #endif

Error: COMPILER_WARNING (CWE-1164): [#def194]
readline-8.2-build/readline-8.2/input.c: scope_hint: In function ‘rl_getc’
readline-8.2-build/readline-8.2/input.c:896:1: warning[-Wunused-label]: label ‘handle_error’ defined but not used
#  896 | handle_error:
#      | ^~~~~~~~~~~~
#  894|   /* fprintf(stderr, "rl_getc: result = %d errno = %d\n", result, errno); */
#  895|   
#  896|-> handle_error:
#  897|         osig = _rl_caught_signal;
#  898|         ostate = rl_readline_state;

Error: COMPILER_WARNING (CWE-563): [#def195]
readline-8.2-build/readline-8.2/isearch.c: scope_hint: In function ‘_rl_isearch_dispatch’
readline-8.2-build/readline-8.2/isearch.c:343:37: warning[-Wunused-variable]: unused variable ‘incr’
#  343 |   int n, wstart, wlen, limit, cval, incr;
#      |                                     ^~~~
#  341|   _rl_isearch_dispatch (_rl_search_cxt *cxt, int c)
#  342|   {
#  343|->   int n, wstart, wlen, limit, cval, incr;
#  344|     char *paste;
#  345|     size_t pastelen;

Error: COMPILER_WARNING (CWE-563): [#def196]
readline-8.2-build/readline-8.2/isearch.c: scope_hint: In function ‘rl_search_history’
readline-8.2-build/readline-8.2/isearch.c:852:7: warning[-Wunused-but-set-variable]: variable ‘c’ set but not used
#  852 |   int c, r;
#      |       ^
#  850|   {
#  851|     _rl_search_cxt *cxt;		/* local for now, but saved globally */
#  852|->   int c, r;
#  853|   
#  854|     RL_SETSTATE(RL_STATE_ISEARCH);

Error: COMPILER_WARNING (CWE-563): [#def197]
readline-8.2-build/readline-8.2/isearch.c: scope_hint: In function ‘_rl_isearch_callback’
readline-8.2-build/readline-8.2/isearch.c:889:7: warning[-Wunused-but-set-variable]: variable ‘c’ set but not used
#  889 |   int c, r;
#      |       ^
#  887|   _rl_isearch_callback (_rl_search_cxt *cxt)
#  888|   {
#  889|->   int c, r;
#  890|   
#  891|     c = _rl_search_getchar (cxt);

Error: GCC_ANALYZER_WARNING (CWE-674): [#def198]
readline-8.2-build/readline-8.2/kill.c: scope_hint: In function ‘rl_backward_kill_word’
readline-8.2-build/readline-8.2/kill.c:202:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
#  200|   
#  201|     if (count < 0)
#  202|->     return (rl_backward_kill_word (-count, key));
#  203|     else
#  204|       {

Error: GCC_ANALYZER_WARNING (CWE-674): [#def199]
readline-8.2-build/readline-8.2/kill.c: scope_hint: In function ‘rl_kill_word’
readline-8.2-build/readline-8.2/kill.c:225:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
#  223|   
#  224|     if (count < 0)
#  225|->     return (rl_kill_word (-count, key));
#  226|     else
#  227|       {

Error: GCC_ANALYZER_WARNING (CWE-674): [#def200]
readline-8.2-build/readline-8.2/kill.c: scope_hint: In function ‘rl_copy_backward_word’
readline-8.2-build/readline-8.2/kill.c:494:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
#  492|   {
#  493|     if (count < 0)
#  494|->     return (rl_copy_backward_word (-count, key));
#  495|   
#  496|     return (_rl_copy_word_as_kill (count, 1));

Error: GCC_ANALYZER_WARNING (CWE-674): [#def201]
readline-8.2-build/readline-8.2/kill.c: scope_hint: In function ‘rl_copy_forward_word’
readline-8.2-build/readline-8.2/kill.c:503:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
#  501|   {
#  502|     if (count < 0)
#  503|->     return (rl_copy_forward_word (-count, key));
#  504|   
#  505|     return (_rl_copy_word_as_kill (count, -1));

Error: COMPILER_WARNING (CWE-563): [#def202]
readline-8.2-build/readline-8.2/kill.c: scope_hint: In function ‘rl_vi_yank_pop’
readline-8.2-build/readline-8.2/kill.c:562:13: warning[-Wunused-variable]: unused variable ‘origpoint’
#  562 |   int l, n, origpoint;
#      |             ^~~~~~~~~
#  560|   rl_vi_yank_pop (int count, int key)
#  561|   {
#  562|->   int l, n, origpoint;
#  563|   
#  564|     if (((rl_last_func != rl_vi_yank_pop) && (rl_last_func != rl_vi_put)) ||

Error: COMPILER_WARNING (CWE-563): [#def203]
readline-8.2-build/readline-8.2/kill.c:759:15: warning[-Wunused-variable]: unused variable ‘c’
#  759 |   int retval, c;
#      |               ^
#  757|   rl_bracketed_paste_begin (int count, int key)
#  758|   {
#  759|->   int retval, c;
#  760|     size_t len, cap;
#  761|     char *buf;

Error: COMPILER_WARNING (CWE-563): [#def204]
readline-8.2-build/readline-8.2/kill.c: scope_hint: In function ‘rl_bracketed_paste_begin’
readline-8.2-build/readline-8.2/kill.c:760:15: warning[-Wunused-variable]: unused variable ‘cap’
#  760 |   size_t len, cap;
#      |               ^~~
#  758|   {
#  759|     int retval, c;
#  760|->   size_t len, cap;
#  761|     char *buf;
#  762|   

Error: COMPILER_WARNING (CWE-563): [#def205]
readline-8.2-build/readline-8.2/kill.c: scope_hint: In function ‘_rl_read_bracketed_paste_prefix’
readline-8.2-build/readline-8.2/kill.c:777:17: warning[-Wunused-variable]: unused variable ‘j’
#  777 |   int key, ind, j;
#      |                 ^
#  775|   {
#  776|     char pbuf[BRACK_PASTE_SLEN+1], *pbpref;
#  777|->   int key, ind, j;
#  778|   
#  779|     pbpref = BRACK_PASTE_PREF;		/* XXX - debugging */

Error: GCC_ANALYZER_WARNING (CWE-457): [#def206]
readline-8.2-build/readline-8.2/kill.c: scope_hint: In function ‘_rl_read_bracketed_paste_prefix’
readline-8.2-build/readline-8.2/kill.c:800:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘key’
readline-8.2-build/readline-8.2/kill.c:46: included_from: Included from here.
readline-8.2-build/readline-8.2/kill.c:784:11: note: in expansion of macro ‘RL_ISSTATE’
#  798|         while (ind >= 0)
#  799|   	_rl_unget_char (pbuf[ind--]);
#  800|->       return (key < 0 ? key : 0);
#  801|       }
#  802|     return (key < 0 ? key : 1);

Error: COMPILER_WARNING (CWE-457): [#def207]
readline-8.2-build/readline-8.2/kill.c: scope_hint: In function ‘_rl_read_bracketed_paste_prefix’
readline-8.2-build/readline-8.2/kill.c:800:29: warning[-Wmaybe-uninitialized]: ‘key’ may be used uninitialized
#  800 |       return (key < 0 ? key : 0);
#      |              ~~~~~~~~~~~~~~~^~~~
readline-8.2-build/readline-8.2/kill.c:777:7: note: ‘key’ was declared here
#  777 |   int key, ind, j;
#      |       ^~~
#  798|         while (ind >= 0)
#  799|   	_rl_unget_char (pbuf[ind--]);
#  800|->       return (key < 0 ? key : 0);
#  801|       }
#  802|     return (key < 0 ? key : 1);

Error: COMPILER_WARNING (CWE-563): [#def208]
readline-8.2-build/readline-8.2/kill.c: scope_hint: In function ‘_rl_bracketed_read_mbstring’
readline-8.2-build/readline-8.2/kill.c:849:10: warning[-Wunused-variable]: unused variable ‘r’
#  849 |   int c, r;
#      |          ^
#  847|   _rl_bracketed_read_mbstring (char *mb, int mlen)
#  848|   {
#  849|->   int c, r;
#  850|   
#  851|     c = _rl_bracketed_read_key ();

Error: COMPILER_WARNING (CWE-1164): [#def209]
readline-8.2-build/readline-8.2/mbutil.c: scope_hint: At top level
readline-8.2-build/readline-8.2/mbutil.c:87:1: warning[-Wunused-function]: ‘_rl_utf8_mblen’ defined but not used
#   87 | _rl_utf8_mblen (const char *s, size_t n)
#      | ^~~~~~~~~~~~~~
#   85|      at S. Encoding is UTF-8. */
#   86|   static int
#   87|-> _rl_utf8_mblen (const char *s, size_t n)
#   88|   {
#   89|     unsigned char c, c1, c2, c3;

Error: COMPILER_WARNING (CWE-563): [#def210]
readline-8.2-build/readline-8.2/mbutil.c: scope_hint: In function ‘_rl_find_prev_utf8char’
readline-8.2-build/readline-8.2/mbutil.c:247:9: warning[-Wunused-variable]: unused variable ‘s’
#  247 |   char *s;
#      |         ^
#  245|   _rl_find_prev_utf8char (char *string, int seed, int find_non_zero)
#  246|   {
#  247|->   char *s;
#  248|     unsigned char b;
#  249|     int save, prev;

Error: COMPILER_WARNING (CWE-563): [#def211]
readline-8.2-build/readline-8.2/misc.c: scope_hint: In function ‘_rl_free_saved_history_line’
readline-8.2-build/readline-8.2/misc.c:385:14: warning[-Wunused-variable]: unused variable ‘orig’
#  385 |   UNDO_LIST *orig;
#      |              ^~~~
#  383|   _rl_free_saved_history_line (void)
#  384|   {
#  385|->   UNDO_LIST *orig;
#  386|   
#  387|     if (_rl_saved_line_for_history)

Error: COMPILER_WARNING (CWE-569): [#def212]
readline-8.2-build/readline-8.2/misc.c: scope_hint: In function ‘_rl_revert_previous_lines’
readline-8.2-build/readline-8.2/misc.c:460:11: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
#  460 |       if (ul = (UNDO_LIST *)entry->data)
#      |           ^~
#  458|     while (entry)
#  459|       {
#  460|->       if (ul = (UNDO_LIST *)entry->data)
#  461|   	{
#  462|   	  if (ul == saved_undo_list)

Error: COMPILER_WARNING (CWE-569): [#def213]
readline-8.2-build/readline-8.2/misc.c: scope_hint: In function ‘rl_clear_history’
readline-8.2-build/readline-8.2/misc.c:520:11: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
#  520 |       if (ul = (UNDO_LIST *)hent->data)
#      |           ^~
#  518|       {
#  519|         hent = hlist[i];
#  520|->       if (ul = (UNDO_LIST *)hent->data)
#  521|   	{
#  522|   	  if (ul == saved_undo_list)

Error: COMPILER_WARNING (CWE-563): [#def214]
readline-8.2-build/readline-8.2/nls.c: scope_hint: In function ‘utf8locale’
readline-8.2-build/readline-8.2/nls.c:110:10: warning[-Wunused-variable]: unused variable ‘len’
#  110 |   size_t len;
#      |          ^~~
#  108|   {
#  109|     char *cp;
#  110|->   size_t len;
#  111|   
#  112|   #if HAVE_LANGINFO_CODESET

Error: COMPILER_WARNING (CWE-1164): [#def215]
readline-8.2-build/readline-8.2/nls.c: scope_hint: At top level
readline-8.2-build/readline-8.2/nls.c:286:1: warning[-Wunused-function]: ‘find_codeset’ defined but not used
#  286 | find_codeset (char *name, size_t *lenp)
#      | ^~~~~~~~~~~~
#  284|   /* Isolate codeset portion of locale specification. */
#  285|   static char *
#  286|-> find_codeset (char *name, size_t *lenp)
#  287|   {
#  288|     char *cp, *language, *result;

Error: COMPILER_WARNING (CWE-563): [#def216]
readline-8.2-build/readline-8.2/parens.c: scope_hint: In function ‘rl_insert_close’
readline-8.2-build/readline-8.2/parens.c:118:36: warning[-Wunused-but-set-variable]: variable ‘ready’ set but not used
#  118 |       int orig_point, match_point, ready;
#      |                                    ^~~~~
#  116|       {
#  117|   #if defined (HAVE_SELECT)
#  118|->       int orig_point, match_point, ready;
#  119|         struct timeval timer;
#  120|         fd_set readfds;

Error: COMPILER_WARNING (CWE-563): [#def217]
readline-8.2-build/readline-8.2/readline.c:76: included_from: Included from here.
readline-8.2-build/readline-8.2/parse-colors.h:44:14: warning[-Wunused-variable]: ‘color_buf’ defined but not used
#   44 | static char *color_buf;
#      |              ^~~~~~~~~
#   42|   
#   43|   /* Buffer for color sequences */
#   44|-> static char *color_buf;
#   45|   
#   46|   #endif /* !_PARSE_COLORS_H_ */

Error: COMPILER_WARNING (CWE-563): [#def218]
readline-8.2-build/readline-8.2/readline.c:567:21: warning[-Wunused-variable]: unused variable ‘eof_found’
#  567 |   static int lastc, eof_found;
#      |                     ^~~~~~~~~
#  565|   #endif
#  566|   {
#  567|->   static int lastc, eof_found;
#  568|     int c, code, lk, r;
#  569|   

Error: COMPILER_WARNING (CWE-563): [#def219]
readline-8.2-build/readline-8.2/readline.c: scope_hint: In function ‘readline_internal_char’
readline-8.2-build/readline-8.2/readline.c:568:20: warning[-Wunused-but-set-variable]: variable ‘r’ set but not used
#  568 |   int c, code, lk, r;
#      |                    ^
#  566|   {
#  567|     static int lastc, eof_found;
#  568|->   int c, code, lk, r;
#  569|   
#  570|     lastc = EOF;

Error: COMPILER_WARNING (CWE-1164): [#def220]
readline-8.2-build/readline-8.2/readline.c: scope_hint: At top level
readline-8.2-build/readline-8.2/readline.c:1356:1: warning[-Wunused-function]: ‘reset_default_bindings’ defined but not used
# 1356 | reset_default_bindings (void)
#      | ^~~~~~~~~~~~~~~~~~~~~~
# 1354|      interested in back to rl_insert and read the new ones. */
# 1355|   static void
# 1356|-> reset_default_bindings (void)
# 1357|   {
# 1358|     if (_rl_bind_stty_chars)

Error: COMPILER_WARNING (CWE-563): [#def221]
readline-8.2-build/readline-8.2/search.c:533:7: warning[-Wunused-but-set-variable]: variable ‘had_saved_line’ set but not used
#  533 |   int had_saved_line;
#      |       ^~~~~~~~~~~~~~
#  531|     HIST_ENTRY *temp;
#  532|     int ret, oldpos, newcol;
#  533|->   int had_saved_line;
#  534|     char *t;
#  535|   

Error: COMPILER_WARNING (CWE-563): [#def222]
readline-8.2-build/readline-8.2/search.c: scope_hint: In function ‘rl_history_search_internal’
readline-8.2-build/readline-8.2/search.c:534:9: warning[-Wunused-variable]: unused variable ‘t’
#  534 |   char *t;
#      |         ^
#  532|     int ret, oldpos, newcol;
#  533|     int had_saved_line;
#  534|->   char *t;
#  535|   
#  536|     had_saved_line = _rl_saved_line_for_history != 0;

Error: COMPILER_WARNING (CWE-563): [#def223]
readline-8.2-build/readline-8.2/shell.c:125:13: warning[-Wunused-variable]: ‘putenv_buf1’ defined but not used
#  125 | static char putenv_buf1[INT_STRLEN_BOUND (int) + 6 + 1];        /* sizeof("LINES=") == 6 */
#      |             ^~~~~~~~~~~
#  123|      respectively. */
#  124|   static char setenv_buf[INT_STRLEN_BOUND (int) + 1];
#  125|-> static char putenv_buf1[INT_STRLEN_BOUND (int) + 6 + 1];	/* sizeof("LINES=") == 6 */
#  126|   static char putenv_buf2[INT_STRLEN_BOUND (int) + 8 + 1];	/* sizeof("COLUMNS=") == 8 */
#  127|   

Error: COMPILER_WARNING (CWE-563): [#def224]
readline-8.2-build/readline-8.2/shell.c:126:13: warning[-Wunused-variable]: ‘putenv_buf2’ defined but not used
#  126 | static char putenv_buf2[INT_STRLEN_BOUND (int) + 8 + 1];        /* sizeof("COLUMNS=") == 8 */
#      |             ^~~~~~~~~~~
#  124|   static char setenv_buf[INT_STRLEN_BOUND (int) + 1];
#  125|   static char putenv_buf1[INT_STRLEN_BOUND (int) + 6 + 1];	/* sizeof("LINES=") == 6 */
#  126|-> static char putenv_buf2[INT_STRLEN_BOUND (int) + 8 + 1];	/* sizeof("COLUMNS=") == 8 */
#  127|   
#  128|   void

Error: COMPILER_WARNING (CWE-563): [#def225]
readline-8.2-build/readline-8.2/signals.c: scope_hint: In function ‘rl_set_signals’
readline-8.2-build/readline-8.2/signals.c:414:25: warning[-Wunused-variable]: unused variable ‘oset’
#  414 |   static sigset_t bset, oset;
#      |                         ^~~~
#  412|   #if defined (HAVE_POSIX_SIGNALS)
#  413|     static int sigmask_set = 0;
#  414|->   static sigset_t bset, oset;
#  415|   #endif
#  416|   

Error: COMPILER_WARNING (CWE-563): [#def226]
readline-8.2-build/readline-8.2/signals.c:625:17: warning[-Wunused-variable]: ‘sigint_set’ defined but not used
#  625 | static sigset_t sigint_set, sigint_oset;
#      |                 ^~~~~~~~~~
#  623|   
#  624|   #if defined (HAVE_POSIX_SIGNALS)
#  625|-> static sigset_t sigint_set, sigint_oset;
#  626|   static sigset_t sigwinch_set, sigwinch_oset;
#  627|   #else /* !HAVE_POSIX_SIGNALS */

Error: COMPILER_WARNING (CWE-563): [#def227]
readline-8.2-build/readline-8.2/signals.c: scope_hint: At top level
readline-8.2-build/readline-8.2/signals.c:625:29: warning[-Wunused-variable]: ‘sigint_oset’ defined but not used
#  625 | static sigset_t sigint_set, sigint_oset;
#      |                             ^~~~~~~~~~~
#  623|   
#  624|   #if defined (HAVE_POSIX_SIGNALS)
#  625|-> static sigset_t sigint_set, sigint_oset;
#  626|   static sigset_t sigwinch_set, sigwinch_oset;
#  627|   #else /* !HAVE_POSIX_SIGNALS */

Error: COMPILER_WARNING: [#def228]
readline-8.2-build/readline-8.2/text.c: scope_hint: In function ‘rl_insert_text’
readline-8.2-build/readline-8.2/text.c:101:3: warning[-Wstringop-truncation]: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length
#  101 |   strncpy (rl_line_buffer + rl_point, string, l);
#      |   ^
readline-8.2-build/readline-8.2/text.c:91:29: note: length computed here
#   91 |   l = (string && *string) ? strlen (string) : 0;
#      |                             ^~~~~~~~~~~~~~~
#   99|       rl_line_buffer[i + l] = rl_line_buffer[i];
#  100|   
#  101|->   strncpy (rl_line_buffer + rl_point, string, l);
#  102|   
#  103|     /* Remember how to undo this if we aren't undoing something. */

Error: GCC_ANALYZER_WARNING (CWE-674): [#def229]
readline-8.2-build/readline-8.2/text.c: scope_hint: In function ‘rl_forward_byte’
readline-8.2-build/readline-8.2/text.c:397:13: warning[-Wanalyzer-infinite-recursion]: infinite recursion
#  395|   {
#  396|     if (count < 0)
#  397|->     return (rl_forward_byte (-count, key));
#  398|   
#  399|     if (count > 0)

Error: COMPILER_WARNING (CWE-569): [#def230]
readline-8.2-build/readline-8.2/tilde.c: scope_hint: In function ‘tilde_expand’
readline-8.2-build/readline-8.2/tilde.c:195:7: warning[-Wparentheses]: suggest parentheses around assignment used as truth value
#  195 |   if (result = strchr (string, '~'))
#      |       ^~~~~~
#  193|   
#  194|     result_index = result_size = 0;
#  195|->   if (result = strchr (string, '~'))
#  196|       result = (char *)xmalloc (result_size = (strlen (string) + 16));
#  197|     else

Error: COMPILER_WARNING (CWE-563): [#def231]
readline-8.2-build/readline-8.2/undo.c: scope_hint: In function ‘rl_free_undo_list’
readline-8.2-build/readline-8.2/undo.c:119:14: warning[-Wunused-variable]: unused variable ‘release’
#  119 |   UNDO_LIST *release, *orig_list;
#      |              ^~~~~~~
#  117|   rl_free_undo_list (void)
#  118|   {
#  119|->   UNDO_LIST *release, *orig_list;
#  120|   
#  121|     orig_list = rl_undo_list;

Error: CPPCHECK_WARNING (CWE-457): [#def232]
readline-8.2-build/readline-8.2/undo.c:154: warning[uninitvar]: Uninitialized variable: roving
#  152|         else
#  153|   	{
#  154|-> 	  roving->next = c;
#  155|   	  roving = roving->next;
#  156|   	}

Error: COMPILER_WARNING (CWE-563): [#def233]
readline-8.2-build/readline-8.2/vi_mode.c: scope_hint: At top level
readline-8.2-build/readline-8.2/vi_mode.c:104:12: warning[-Wunused-variable]: ‘vi_continued_command’ defined but not used
#  104 | static int vi_continued_command;
#      |            ^~~~~~~~~~~~~~~~~~~~
#  102|      us implicitly into insert mode.  Some people want this text to be
#  103|      attached to the command so that it is `redoable' with `.'. */
#  104|-> static int vi_continued_command;
#  105|   static char *vi_insert_buffer;
#  106|   static int vi_insert_buffer_size;

Error: COMPILER_WARNING (CWE-563): [#def234]
readline-8.2-build/readline-8.2/vi_mode.c: scope_hint: In function ‘rl_vi_fword’
readline-8.2-build/readline-8.2/vi_mode.c:622:7: warning[-Wunused-but-set-variable]: variable ‘opoint’ set but not used
#  622 |   int opoint;
#      |       ^~~~~~
#  620|   rl_vi_fword (int count, int ignore)
#  621|   {
#  622|->   int opoint;
#  623|   
#  624|     while (count-- && rl_point < (rl_end - 1))

Error: COMPILER_WARNING (CWE-563): [#def235]
readline-8.2-build/readline-8.2/vi_mode.c: scope_hint: In function ‘rl_vi_domove’
readline-8.2-build/readline-8.2/vi_mode.c:1343:7: warning[-Wunused-variable]: unused variable ‘r’
# 1343 |   int r;
#      |       ^
# 1341|   rl_vi_domove (int x, int *ignore)
# 1342|   {
# 1343|->   int r;
# 1344|     _rl_vimotion_cxt *m;
# 1345|   

Error: COMPILER_WARNING: [#def236]
readline-8.2-build/readline-8.2/vi_mode.c: scope_hint: In function ‘rl_vi_change_char’
readline-8.2-build/readline-8.2/vi_mode.c:2069:7: warning[-Wstringop-truncation]: ‘strncpy’ output may be truncated copying 16 bytes from a string of length 16
# 2069 |       strncpy (mb, _rl_vi_last_replacement, MB_LEN_MAX);
#      |       ^
# 2067|     if (_rl_vi_redoing)
# 2068|       {
# 2069|->       strncpy (mb, _rl_vi_last_replacement, MB_LEN_MAX);
# 2070|         c = (unsigned char)_rl_vi_last_replacement[0];	/* XXX */
# 2071|         mb[MB_LEN_MAX] = '\0';

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-55.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namereadline-8.2-11.fc42
store-results-to/tmp/tmpt6grb6nw/readline-8.2-11.fc42.tar.xz
time-created2024-11-13 03:10:52
time-finished2024-11-13 03:12:47
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpt6grb6nw/readline-8.2-11.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpt6grb6nw/readline-8.2-11.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9