diff options
author | Marat Radchenko <marat@slonopotamus.org> | 2014-03-30 15:08:23 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-31 13:01:19 -0700 |
commit | 20d1c6528c76242581e89c271679d35884d916dc (patch) | |
tree | f79c13d34079feef54f3f7cfdd86af2be7d610f6 /test-parse-options.c | |
parent | parse-options: add cast to correct pointer type to OPT_SET_PTR (diff) | |
download | tgif-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.c | 2 |
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"), |