1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00

more variable initialization.

This commit is contained in:
Benjamin Marzinski 2005-04-29 22:12:09 +00:00
parent 4ba6f5d078
commit d4d51bd6d3

View File

@ -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;