svn commit: r316319 - stable/10/sys/boot/common
Ngie Cooper
ngie at FreeBSD.org
Fri Mar 31 04:43:26 UTC 2017
Author: ngie
Date: Fri Mar 31 04:43:25 2017
New Revision: 316319
URL: https://svnweb.freebsd.org/changeset/base/316319
Log:
MFC r316108:
Remove -Wunused-but-set variable, `tail` in `ls_getdir(..)`
This variable has been unused since its inception in r40106.
Modified:
stable/10/sys/boot/common/ls.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/boot/common/ls.c
==============================================================================
--- stable/10/sys/boot/common/ls.c Fri Mar 31 04:43:21 2017 (r316318)
+++ stable/10/sys/boot/common/ls.c Fri Mar 31 04:43:25 2017 (r316319)
@@ -139,9 +139,8 @@ ls_getdir(char **pathp)
struct stat sb;
int fd;
const char *cp;
- char *path, *tail;
+ char *path;
- tail = NULL;
fd = -1;
/* one extra byte for a possible trailing slash required */
More information about the svn-src-stable-10
mailing list