mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
MFC r295119:
Remove `r_tmp` to fix a -Wunused-but-set-variable warning with gcc 4.9
This commit is contained in:
parent
3ce18134f5
commit
0d74618765
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=296736
@ -701,7 +701,7 @@ keep_ok(filenode *fnode)
|
||||
static void
|
||||
do_file(filenode *fnode)
|
||||
{
|
||||
f_reqnode *r, *r_tmp;
|
||||
f_reqnode *r;
|
||||
f_provnode *p, *p_tmp;
|
||||
provnode *pnode;
|
||||
int was_set;
|
||||
@ -728,13 +728,8 @@ do_file(filenode *fnode)
|
||||
*/
|
||||
r = fnode->req_list;
|
||||
while (r != NULL) {
|
||||
r_tmp = r;
|
||||
satisfy_req(r, fnode->filename);
|
||||
r = r->next;
|
||||
#if 0
|
||||
if (was_set == 0)
|
||||
free(r_tmp);
|
||||
#endif
|
||||
}
|
||||
fnode->req_list = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user