1
0
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:
Moritz Grimm 2017-09-25 17:05:44 +02:00
parent 448ea0c276
commit 8cc45a3a3d

View File

@ -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);