diff options
author | ngie <ngie@FreeBSD.org> | 2017-03-31 04:43:21 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-03-31 04:43:21 +0000 |
commit | 8226952ad136a1d3ffbd8445f6cc705821f741cb (patch) | |
tree | ff0a0c81ab9016cc036df35a17196e7ade6180fb /sys/boot | |
parent | 257df05444445fd3d60f536dc867e13b93d85587 (diff) | |
download | FreeBSD-src-8226952ad136a1d3ffbd8445f6cc705821f741cb.zip FreeBSD-src-8226952ad136a1d3ffbd8445f6cc705821f741cb.tar.gz |
MFC r316108:
Remove -Wunused-but-set variable, `tail` in `ls_getdir(..)`
This variable has been unused since its inception in r40106.
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/common/ls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/boot/common/ls.c b/sys/boot/common/ls.c index 86f83c3..50fab4a 100644 --- a/sys/boot/common/ls.c +++ b/sys/boot/common/ls.c @@ -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 */ |