Commit 1f4e0760 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Init nsuuid to NULL.

parent bb517459
......@@ -144,7 +144,7 @@ void cdiCreateUUID(unsigned char *uuid)
static const char error_stage[][16]
= { "uuid_create", "uuid_create", "uuid_load", "uuid_make", "uuid_export",
"uuid_destroy1", "uuid_destroy2" };
uuid_t *objuuid, *nsuuid;
uuid_t *objuuid = NULL, *nsuuid = NULL;
int stage = 0;
uuid_rc_t status;
if ((status = uuid_create(&objuuid)) == UUID_RC_OK)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment