fixed a compiler error for uth-linux
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 5 Jun 2009 15:46:07 +0000 (15:46 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 5 Jun 2009 15:46:07 +0000 (15:46 +0000)
src/ck-cp/pathHistory.C

index 02a933a58bb48a6c91a22736f7745d8d0f3bfc64..89466247b347917f4dbbd1c5eea2c6c6edb32feb 100644 (file)
@@ -273,7 +273,7 @@ void initializeCriticalPath(void){ }
 void traceCriticalPathBack(CkCallback cb){
   pathInformationMsg * pathForUser = new(0) pathInformationMsg;  
   pathForUser->historySize = 0;                                                                                        
-  pathForUser->cb = NULL;                                                                                                      
+  pathForUser->cb = CkCallback();                                                                                                      
   pathForUser->table_idx = -1;      
   cb.send(pathForUser);                                   
 }