1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
Andreas Schneider
d85a2dbfd7 s4:script: Fix shellcheck errors in find_unused_options.sh
source4/script/find_unused_options.sh:20:16: error: Use braces when
expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet). [SC1087]

source4/script/find_unused_options.sh:30:16: error: Use braces when
expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet). [SC1087]

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
2022-08-22 14:20:36 +00:00
Andreas Schneider
d82c0991b9 s4:script: Reformat shell scripts
shfmt -f source4/script/ | xargs shfmt -w -p -i 0 -fn

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
2022-07-08 09:05:56 +00:00
Jelmer Vernooij
e3dcc92dee r9684: Remove unused parameters (about 70)
(This used to be commit 4a51a31571)
2007-10-10 13:34:40 -05:00
Stefan Metzmacher
04376e44b6 add find_unused_options.sh
this script finds unused lp_*() functions

use it like this:
   user@host:~/samba/source>./script/find_unused_options.sh

metze
(This used to be commit 350fbe3440)
2004-01-29 09:54:42 +00:00