data layer pthread function fix
authorYangqing Jia <jiayq84@gmail.com>
Thu, 10 Oct 2013 23:10:24 +0000 (16:10 -0700)
committerYangqing Jia <jiayq84@gmail.com>
Thu, 10 Oct 2013 23:10:24 +0000 (16:10 -0700)
src/caffe/layers/data_layer.cpp

index 7993a43..c44fbd6 100644 (file)
@@ -91,6 +91,8 @@ void* DataLayerPrefetch(void* layer_pointer) {
       layer->iter_->SeekToFirst();
     }
   }
+
+  return (void*)NULL;
 }