mirror of git://git.suckless.org/ubase
Don't initialize unneeded variables in swaplabel(8)
This commit is contained in:
parent
aed9e3f6fa
commit
d2a7d5aeca
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue