git-commit-vandalism/t/helper
Jeff King 126e3b3d2a t/helper: mark unused argv/argc arguments
Many test helper programs do not bother to look at argc or argv, because
they don't take any options. In a user-facing program, it's a good idea
to check for unexpected arguments and complain. But for a test helper,
it's not worth the trouble to enforce this.

But we do want to tell the compiler we're OK with ignoring them, to
silence -Wunused-parameter (and obviously we can't get rid of them,
since we have to conform to the usual cmd__foo() interface).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2023-03-28 14:11:24 -07:00
..
.gitignore
test-advise.c
test-bitmap.c
test-bloom.c object.h: stop depending on cache.h; make cache.h depend on object.h 2023-02-23 17:25:29 -08:00
test-bundle-uri.c test-bundle-uri: drop unused variables 2023-01-06 21:34:49 +09:00
test-cache-tree.c cache.h: remove dependence on hex.h; make other files include it explicitly 2023-02-23 17:25:29 -08:00
test-chmtime.c
test-config.c
test-crontab.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
test-csprng.c
test-ctype.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-date.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-delta.c
test-dir-iterator.c dir-iterator: drop unused DIR_ITERATOR_FOLLOW_SYMLINKS 2023-02-16 16:21:56 -08:00
test-drop-caches.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-dump-cache-tree.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-dump-fsmonitor.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-dump-split-index.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-dump-untracked-cache.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-env-helper.c env-helper: move this built-in to "test-tool env-helper" 2023-01-14 18:07:11 -08:00
test-example-decorate.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-fake-ssh.c Merge branch 'ab/various-leak-fixes' 2022-12-14 15:55:46 +09:00
test-fast-rebase.c cache.h: remove dependence on hex.h; make other files include it explicitly 2023-02-23 17:25:29 -08:00
test-fsmonitor-client.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-genrandom.c
test-genzeros.c test-genzeros: avoid raw write(2) 2023-02-16 08:30:38 -08:00
test-getcwd.c
test-hash-speed.c
test-hash.c cache.h: remove dependence on hex.h; make other files include it explicitly 2023-02-23 17:25:29 -08:00
test-hashmap.c
test-hexdump.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-index-version.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-json-writer.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
test-lazy-init-name-hash.c cache.h & test-tool.h: add & use "USE_THE_INDEX_VARIABLE" 2022-11-21 12:06:15 +09:00
test-match-trees.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-mergesort.c
test-mktemp.c
test-oid-array.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-oidmap.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-oidtree.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-online-cpus.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-pack-mtimes.c cache.h: remove dependence on hex.h; make other files include it explicitly 2023-02-23 17:25:29 -08:00
test-parse-options.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-parse-pathspec-file.c parse-options: consistently allocate memory in fix_filename() 2023-03-06 13:14:45 -08:00
test-partial-clone.c cache.h: remove dependence on hex.h; make other files include it explicitly 2023-02-23 17:25:29 -08:00
test-path-utils.c string-list: mark unused callback parameters 2022-10-17 21:24:04 -07:00
test-pcre2-config.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
test-pkt-line.c
test-prio-queue.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-proc-receive.c cache.h: remove dependence on hex.h; make other files include it explicitly 2023-02-23 17:25:29 -08:00
test-progress.c
test-reach.c cache.h: remove dependence on hex.h; make other files include it explicitly 2023-02-23 17:25:29 -08:00
test-read-cache.c cache.h & test-tool.h: add & use "USE_THE_INDEX_VARIABLE" 2022-11-21 12:06:15 +09:00
test-read-graph.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-read-midx.c cache.h: remove dependence on hex.h; make other files include it explicitly 2023-02-23 17:25:29 -08:00
test-ref-store.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-reftable.c
test-regex.c
test-repository.c cache.h: remove dependence on hex.h; make other files include it explicitly 2023-02-23 17:25:29 -08:00
test-revision-walking.c
test-rot13-filter.c
test-run-command.c Merge branch 'jk/unused-post-2.39-part2' 2023-03-17 14:03:09 -07:00
test-scrap-cache-tree.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-serve-v2.c
test-sha1.c Makefile & test-tool: replace "DC_SHA1" variable with a "define" 2022-11-07 22:11:51 -05:00
test-sha1.sh
test-sha256.c
test-sigchain.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-simple-ipc.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
test-strcmp-offset.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-string-list.c
test-submodule-config.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-submodule-nested-repo-config.c hash.h: move some oid-related declarations from cache.h 2023-02-23 17:25:28 -08:00
test-submodule.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-subprocess.c
test-tool-utils.h
test-tool.c env-helper: move this built-in to "test-tool env-helper" 2023-01-14 18:07:11 -08:00
test-tool.h env-helper: move this built-in to "test-tool env-helper" 2023-01-14 18:07:11 -08:00
test-trace2.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00
test-urlmatch-normalization.c
test-userdiff.c
test-wildmatch.c treewide: remove unnecessary cache.h includes in source files 2023-02-23 17:25:28 -08:00
test-windows-named-pipe.c
test-write-cache.c cache.h & test-tool.h: add & use "USE_THE_INDEX_VARIABLE" 2022-11-21 12:06:15 +09:00
test-xml-encode.c t/helper: mark unused argv/argc arguments 2023-03-28 14:11:24 -07:00