1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Remove dead assignment in _lock_for_cluster

'saved_errno' is not read from this initialization and before its
usage is assigned again before _cluster_free_request() call.
This commit is contained in:
Zdenek Kabelac 2010-11-29 11:13:12 +00:00
parent 201222ebad
commit 73e3226012

View File

@ -308,7 +308,7 @@ static int _lock_for_cluster(struct cmd_context *cmd, unsigned char clvmd_cmd,
const char *node = "";
int len;
int dmeventd_mode;
int saved_errno = errno;
int saved_errno;
lvm_response_t *response = NULL;
int num_responses;