fix warnings.

This commit is contained in:
Vítor Santos Costa
2012-02-03 20:55:35 +00:00
parent 5e85dcbd8e
commit e6fb330f58
3 changed files with 1 additions and 3 deletions

View File

@@ -4006,7 +4006,6 @@ YAP_IsNumberedVariable(Term t) {
X_API size_t
YAP_ExportTerm(Term inp, char * buf, size_t len) {
size_t res;
if (!len)
return 0;
return Yap_ExportTerm(inp, buf, len, current_arity());

View File

@@ -203,7 +203,6 @@ term2string(char *const ptr, size_t *size, const YAP_Term t) {
YAP_Term
string2term(char *const ptr,const size_t *size) {
YAP_Term t;
struct buffer_ds b;
t = YAP_ImportTerm( ptr );
if ( t==FALSE ) {