Browse Source

Avoid zero-as-null warning on serd

tags/1.9.7
falkTX 8 years ago
parent
commit
73569fb177
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/modules/lilv/serd-0.22.0/serd/serd.h

+ 2
- 2
source/modules/lilv/serd-0.22.0/serd/serd.h View File

@@ -317,7 +317,7 @@ serd_base64_decode(const uint8_t* str, size_t len, size_t* size);
@{
*/

static const SerdURI SERD_URI_NULL = {{0,0},{0,0},{0,0},{0,0},{0,0},{0,0}};
static const SerdURI SERD_URI_NULL = {{NULL,0},{NULL,0},{NULL,0},{NULL,0},{NULL,0},{NULL,0}};

/**
Return the local path for `uri`, or NULL if `uri` is not a file URI.
@@ -396,7 +396,7 @@ serd_uri_serialise_relative(const SerdURI* uri,
@{
*/

static const SerdNode SERD_NODE_NULL = { 0, 0, 0, 0, SERD_NOTHING };
static const SerdNode SERD_NODE_NULL = { NULL, 0, 0, 0, SERD_NOTHING };

/**
Make a (shallow) node from `str`.


Loading…
Cancel
Save