mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Remove dead assignment in 'main'
'ret' is never read anywhere - remove it.
This commit is contained in:
parent
dce59eb407
commit
2e8d681cf2
@ -1761,7 +1761,6 @@ static void usage(char *prog, FILE *file)
|
|||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
int ret;
|
|
||||||
signed char opt;
|
signed char opt;
|
||||||
struct dm_event_fifos fifos;
|
struct dm_event_fifos fifos;
|
||||||
//struct sys_log logdata = {DAEMON_NAME, LOG_DAEMON};
|
//struct sys_log logdata = {DAEMON_NAME, LOG_DAEMON};
|
||||||
@ -1835,7 +1834,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
pthread_mutex_init(&_global_mutex, NULL);
|
pthread_mutex_init(&_global_mutex, NULL);
|
||||||
|
|
||||||
if ((ret = _open_fifos(&fifos)))
|
if (_open_fifos(&fifos))
|
||||||
exit(EXIT_FIFO_FAILURE);
|
exit(EXIT_FIFO_FAILURE);
|
||||||
|
|
||||||
/* Signal parent, letting them know we are ready to go. */
|
/* Signal parent, letting them know we are ready to go. */
|
||||||
|
Loading…
Reference in New Issue
Block a user