mirror of
https://github.com/sheumann/hush.git
synced 2025-01-18 07:31:34 +00:00
Fix for a potential uninitialized variable, thx to
Ken Chalmers <chalmers@norscan.com> -Erik
This commit is contained in:
parent
6a4c33c5c0
commit
9cf306d55e
@ -37,6 +37,7 @@ extern int id_main(int argc, char **argv)
|
|||||||
int opt;
|
int opt;
|
||||||
|
|
||||||
cp = user = group = NULL;
|
cp = user = group = NULL;
|
||||||
|
gid = 0;
|
||||||
|
|
||||||
while ((opt = getopt(argc, argv, "ugr")) > 0) {
|
while ((opt = getopt(argc, argv, "ugr")) > 0) {
|
||||||
switch (opt) {
|
switch (opt) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user