mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-12-04 14:46:31 -05:00
Do not assign save_errno for no reason
This commit is contained in:
parent
448ea0c276
commit
8cc45a3a3d
@ -160,7 +160,6 @@ util_write_pid_file(const char *path)
|
||||
if (NULL != pidfile_file)
|
||||
fclose(pidfile_file);
|
||||
if (NULL == (pidfile_file = fopen(pidfile_path, "w"))) {
|
||||
save_errno = errno;
|
||||
xfree(pidfile_path);
|
||||
pidfile_path = NULL;
|
||||
return (-1);
|
||||
|
Loading…
Reference in New Issue
Block a user