summaryrefslogtreecommitdiff
path: root/test-parse-options.c
diff options
context:
space:
mode:
authorLibravatar Marat Radchenko <marat@slonopotamus.org>2014-03-30 15:08:23 +0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-31 13:01:19 -0700
commit20d1c6528c76242581e89c271679d35884d916dc (patch)
treef79c13d34079feef54f3f7cfdd86af2be7d610f6 /test-parse-options.c
parentparse-options: add cast to correct pointer type to OPT_SET_PTR (diff)
downloadtgif-20d1c6528c76242581e89c271679d35884d916dc.tar.xz
parse-options: remove unused OPT_SET_PTR
OPT_SET_PTR was never used since its creation at db7244bd (parse-options new features., 2007-11-07). Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-parse-options.c')
-rw-r--r--test-parse-options.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test-parse-options.c b/test-parse-options.c
index 10da63e870..5dabce60f3 100644
--- a/test-parse-options.c
+++ b/test-parse-options.c
@@ -59,8 +59,6 @@ int main(int argc, char **argv)
OPT_STRING(0, "st", &string, "st", "get another string (pervert ordering)"),
OPT_STRING('o', NULL, &string, "str", "get another string"),
OPT_NOOP_NOARG(0, "obsolete"),
- OPT_SET_PTR(0, "default-string", &string,
- "set string to default", "default"),
OPT_STRING_LIST(0, "list", &list, "str", "add str to list"),
OPT_GROUP("Magic arguments"),
OPT_ARGUMENT("quux", "means --quux"),