1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-08-02 04:22:02 +03:00

cleanup: avoid double assign

Skip setting a value to a variable which is never
used and overwritten/set afterwards.
This commit is contained in:
Zdenek Kabelac
2014-08-19 14:19:11 +02:00
parent 94786a3bbf
commit 24df01f735
7 changed files with 7 additions and 7 deletions

View File

@ -205,7 +205,7 @@ out:
static int _open_socket(daemon_state s)
{
int fd = -1;
int fd;
int file_created = 0;
struct sockaddr_un sockaddr = { .sun_family = AF_UNIX };
struct stat buf;