get rid of another useless variable

2.2
Richard Fuchs 12 years ago
parent 55380807f8
commit 0230985e91

@ -1888,7 +1888,6 @@ static int call_delete_branch(struct callmaster *m, const str *callid, const str
const str *fromtag, const str *totag, bencode_item_t *output)
{
struct call *c;
struct callstream *cs;
GList *l;
int ret;
@ -1901,8 +1900,7 @@ static int call_delete_branch(struct callmaster *m, const str *callid, const str
log_info = branch;
for (l = c->callstreams->head; l; l = l->next) {
cs = l->data;
if (tags_match_cs(cs, fromtag, totag))
if (tags_match_cs(l->data, fromtag, totag))
goto tag_match;
}

Loading…
Cancel
Save