mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +03:00
more variable initialization.
This commit is contained in:
parent
4ba6f5d078
commit
d4d51bd6d3
@ -375,7 +375,7 @@ static int error_detected(struct thread_status *thread, char *params)
|
||||
static int event_wait(struct thread_status *thread)
|
||||
{
|
||||
int ret = 0;
|
||||
void *next;
|
||||
void *next=NULL;
|
||||
char *params, *target_type;
|
||||
uint64_t start, length;
|
||||
struct dm_task *dmt;
|
||||
@ -914,6 +914,9 @@ fflush(stdout);
|
||||
case CMD_GET_NEXT_REGISTERED_DEVICE:
|
||||
ret = get_registered_device(&message_data, 1);
|
||||
break;
|
||||
default:
|
||||
ret = -EINVAL;
|
||||
break;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user