projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9462297
)
ffsinfo(8): Remove an unused variable.
author
Sascha Wildner
<saw@online.de>
Tue, 16 Oct 2012 08:01:27 +0000
(10:01 +0200)
committer
Sascha Wildner
<saw@online.de>
Tue, 16 Oct 2012 08:26:05 +0000
(10:26 +0200)
Found-by: gcc47
sbin/ffsinfo/ffsinfo.c
patch
|
blob
|
blame
|
history
diff --git
a/sbin/ffsinfo/ffsinfo.c
b/sbin/ffsinfo/ffsinfo.c
index
03353b0
..
52fade6
100644
(file)
--- a/
sbin/ffsinfo/ffsinfo.c
+++ b/
sbin/ffsinfo/ffsinfo.c
@@
-128,7
+128,7
@@
rdfs(daddr_t bno, size_t size, void *bf, int fsi)
int
main(int argc, char **argv)
{
- char *device, *special
, __unused *cp
;
+ char *device, *special;
char ch;
size_t len;
struct stat st;
@@
-250,7
+250,6
@@
main(int argc, char **argv)
* the user user with the task of specifying the option -v on
* vinum volumes.
*/
- cp = device+strlen(device)-1;
if (ioctl(fsi, DIOCGPART, &pinfo) < 0) {
pinfo.media_size = st.st_size;
pinfo.media_blksize = DEV_BSIZE;