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[])
{
int setlabel = 0;
int fd = -1;
char magic[10] = { 0 };
char *label = NULL;
char *device = NULL;
int fd;
char magic[SWAP_MAGIC_LENGTH];
char *label;
char *device;
int i;
ARGBEGIN {