mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Most of these changes remove unused variables, functions and labels
to fix -Wunused compiler warnings. Somewhat notable changes:
src/cmd/ksh93/bltins/print.c:
- Removed the unused 'neg' variable.
Patch from ksh2020: https://github.com/att/ast/pull/725
src/cmd/ksh93/bltins/sleep.c:
- Initialized ns to fix three -Wsometimes-uninitialized warnings.
src/cmd/ksh93/edit/{emacs,vi}.c:
- Adjust strncpy size to fix two -Wstringop-truncation warnings.
src/cmd/ksh93/include/shell.h:
- The NOT_USED macro caused many -Wunused-value warnings,
so it has been replaced with ksh2020's macro:
|
||
|---|---|---|
| .. | ||
| alarm.c | ||
| cd_pwd.c | ||
| cflow.c | ||
| enum.c | ||
| getopts.c | ||
| hist.c | ||
| misc.c | ||
| mkservice.c | ||
| print.c | ||
| read.c | ||
| regress.c | ||
| sleep.c | ||
| test.c | ||
| trap.c | ||
| typeset.c | ||
| ulimit.c | ||
| umask.c | ||
| whence.c | ||