Don't initialize unneeded variables in swaplabel(8)

This commit is contained in:
sin 2014-11-29 21:32:53 +00:00
parent aed9e3f6fa
commit d2a7d5aeca
1 changed files with 4 additions and 4 deletions

View File

@ -26,10 +26,10 @@ int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
int setlabel = 0; int setlabel = 0;
int fd = -1; int fd;
char magic[10] = { 0 }; char magic[SWAP_MAGIC_LENGTH];
char *label = NULL; char *label;
char *device = NULL; char *device;
int i; int i;
ARGBEGIN { ARGBEGIN {