Inserting returns in all non void functions. Solaris compilers did not seem to like it.
authorSameer Kumar <skumar2@uiuc.edu>
Thu, 7 Oct 2004 06:26:40 +0000 (06:26 +0000)
committerSameer Kumar <skumar2@uiuc.edu>
Thu, 7 Oct 2004 06:26:40 +0000 (06:26 +0000)
src/ck-com/AAMLearner.h
src/ck-com/AAPLearner.h

index 7699e401216da96a22678a949b77ef25ba92e7ab..bca091cddef9ec75e0ba944080af21139683ece5 100644 (file)
@@ -27,6 +27,7 @@ class AAMLearner : public ComlibLearner {
     
     Strategy ** optimizePattern(Strategy** , ComlibGlobalStats &) {
         CkAbort("Not implemented\n");
+        return NULL;
     }
 };
 
index a10e3e5393428f9f05fad3273de63910328585ab..75b89499a8204c2309eaaf1137191a96bf87d9e6 100644 (file)
@@ -33,6 +33,7 @@ class AAPLearner : public ComlibLearner {
     
     Strategy ** optimizePattern(Strategy** , ComlibGlobalStats &) {
         CkAbort("Not implemented\n");
+        return NULL;
     }
 };