ubase

suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit 21d91ab14d01e005496f012fd085d1518eeb5266
parent 891949ee919c407a9c26f6422324249c0a78f6a1
Author: sin <sin@2f30.org>
Date:   Sat Nov 29 21:32:53 +0000

Don't initialize unneeded variables in swaplabel(8)

Diffstat:
swaplabel.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/swaplabel.c b/swaplabel.c @@ -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 {