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:
@ -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;
|
||||
|
Reference in New Issue
Block a user