Commit f27fcb92 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Add missing const declaration.

parent 41e6aba6
......@@ -330,7 +330,7 @@ int str2uuid(const char *uuidstr, unsigned char *uuid);
static inline int
cdiUUIDIsNull(const unsigned char uuid[CDI_UUID_SIZE])
{
static unsigned char uuid_nil[CDI_UUID_SIZE];
static const unsigned char uuid_nil[CDI_UUID_SIZE];
return !memcmp(uuid, uuid_nil, CDI_UUID_SIZE);
}
......
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