Fix Warnings
authorbdemsky <bdemsky@uci.edu>
Sat, 17 Jun 2017 04:51:07 +0000 (21:51 -0700)
committerbdemsky <bdemsky@uci.edu>
Sat, 17 Jun 2017 04:51:07 +0000 (21:51 -0700)
src/AST/table.c
src/AST/tableentry.h
src/csolver.c

index 48bd532..9798d13 100644 (file)
@@ -11,6 +11,7 @@ Table * allocTable(Set **domains, uint numDomain, Set * range){
         pushVectorSet(table->domains, domains[i]);
     }
     table->range =range;
+               return table;
 }
 
 void addNewTableEntry(Table* table, uint64_t* inputs, uint inputSize, uint64_t result){
index fae0a3b..f81932c 100644 (file)
@@ -14,8 +14,8 @@
 #ifndef TABLEENTRY_H
 #define TABLEENTRY_H
 
-#include "classlist.h";
-#include "mymemory.h";
+#include "classlist.h"
+#include "mymemory.h"
 struct TableEntry{
     uint64_t output;
     uint64_t inputs[];
index b2ccfe7..03a0473 100644 (file)
@@ -5,6 +5,7 @@
 #include "boolean.h"
 #include "predicate.h"
 #include "order.h"
+#include "table.h"
 
 CSolver * allocCSolver() {
        CSolver * tmp=(CSolver *) ourmalloc(sizeof(CSolver));