mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Minor cleanup of initialized variables
Sort the list and cleanup trailing white-space Reviewed by: stevek MFC after: 1 week
This commit is contained in:
parent
b0b2161ce4
commit
005ff484b9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362124
|
@ -207,15 +207,15 @@ install(char *pkgname)
|
|||
if (*s == '\0')
|
||||
goto invalid_url;
|
||||
|
||||
proto = NULL;
|
||||
devname = NULL;
|
||||
devnamelen = 0;
|
||||
|
||||
proto = NULL;
|
||||
local = 0;
|
||||
|
||||
if (i == 4 && !strncasecmp(pkgname, "tftp", i)) {
|
||||
devname = "net0";
|
||||
devnamelen = 4;
|
||||
proto = &tftp_fsops;
|
||||
local = 0;
|
||||
} else if (i == 4 && !strncasecmp(pkgname, "file", i)) {
|
||||
currdev = getenv("currdev");
|
||||
local = 1;
|
||||
|
|
Loading…
Reference in a new issue