fix warnings

This commit is contained in:
Vítor Santos Costa 2016-03-29 01:51:48 +01:00
parent f6379bcd48
commit fa69950c67
1 changed files with 2 additions and 2 deletions

View File

@ -31,10 +31,10 @@ static blob_type_t unregistered_blob_atom =
char * Yap_blob_to_string(AtomEntry *ref, const char *s0, size_t sz)
{
int rc;
// int rc;
char *s = (char *)s0;
blob_type_t *type = RepBlobProp(ref->PropsOfAE)->blob_type;
// blob_type_t *type = RepBlobProp(ref->PropsOfAE)->blob_type;
#if HAVE_FMEMOPEN
if (type->write) {
FILE *f = fmemopen( s, sz, "w");