mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
setproctitle: fix ununitialised variable
Reported-by: Coverity (CID-1573333) Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ameer Hamza <ahamza@ixsystems.com> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #15649
This commit is contained in:
parent
4836d293c0
commit
f0cb6482e1
@ -88,7 +88,7 @@ spt_copyenv(int envc, char *envp[])
|
||||
char **envcopy;
|
||||
char *eq;
|
||||
int envsize;
|
||||
int i, error;
|
||||
int i, error = 0;
|
||||
|
||||
if (environ != envp)
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user