diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-03-13 13:51:33 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-14 13:36:34 -0700 |
commit | 8e76bf3fc915ff9c530842123263e7147df207bb (patch) | |
tree | f9af9c9e1243ba57b6f0985a8694b5e5f89fefba /builtin-shortlog.c | |
parent | test-suite: Make test script numbers unique (diff) | |
download | tgif-8e76bf3fc915ff9c530842123263e7147df207bb.tar.xz |
Remove unused assignments
These variables were always overwritten or the assigned
value was unused:
builtin-diff-tree.c::cmd_diff_tree(): nr_sha1
builtin-for-each-ref.c::opt_parse_sort(): sort_tail
builtin-mailinfo.c::decode_header_bq(): in
builtin-shortlog.c::insert_one_record(): len
connect.c::git_connect(): path
imap-send.c::v_issue_imap_cmd(): n
pretty.c::pp_user_info(): filler
remote::parse_refspec_internal(): llen
Signed-off-by: Benjamin Kramer <benny.kra@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-shortlog.c')
-rw-r--r-- | builtin-shortlog.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin-shortlog.c b/builtin-shortlog.c index badd912038..b28091b445 100644 --- a/builtin-shortlog.c +++ b/builtin-shortlog.c @@ -101,7 +101,6 @@ static void insert_one_record(struct shortlog *log, } while (*oneline && isspace(*oneline) && *oneline != '\n') oneline++; - len = eol - oneline; format_subject(&subject, oneline, " "); buffer = strbuf_detach(&subject, NULL); |