Author: ngie
Date: Sat Mar 12 18:40:51 2016
New Revision: 296736
URL: https://svnweb.freebsd.org/changeset/base/296736
Log:
MFC r295119:
Remove `r_tmp` to fix a -Wunused-but-set-variable warning with gcc 4.9
Modified:
stable/10/sbin/rcorder/rcorder.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sbin/rcorder/rcorder.c
==============================================================================
--- stable/10/sbin/rcorder/rcorder.c Sat Mar 12 18:38:51 2016
(r296735)
+++ stable/10/sbin/rcorder/rcorder.c Sat Mar 12 18:40:51 2016
(r296736)
@@ -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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"