fix warnings
This commit is contained in:
parent
f6379bcd48
commit
fa69950c67
@ -31,10 +31,10 @@ static blob_type_t unregistered_blob_atom =
|
|||||||
|
|
||||||
char * Yap_blob_to_string(AtomEntry *ref, const char *s0, size_t sz)
|
char * Yap_blob_to_string(AtomEntry *ref, const char *s0, size_t sz)
|
||||||
{
|
{
|
||||||
int rc;
|
// int rc;
|
||||||
char *s = (char *)s0;
|
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 HAVE_FMEMOPEN
|
||||||
if (type->write) {
|
if (type->write) {
|
||||||
FILE *f = fmemopen( s, sz, "w");
|
FILE *f = fmemopen( s, sz, "w");
|
||||||
|
Reference in New Issue
Block a user