projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5637fc8
)
Function must return a value
author
T.E.A de Souza
<tea.desouza@gmail.com>
Fri, 20 Nov 2015 08:36:29 +0000
(16:36 +0800)
committer
T.E.A de Souza
<tea.desouza@gmail.com>
Fri, 20 Nov 2015 08:36:29 +0000
(16:36 +0800)
Currently compilation will fail with some compilers when LevelDB and LMDB are disabled.
Very similar to a recently fixed issue.
src/caffe/util/db.cpp
patch
|
blob
|
history
diff --git
a/src/caffe/util/db.cpp
b/src/caffe/util/db.cpp
index
d0a2b0b
..
7f22509
100644
(file)
--- a/
src/caffe/util/db.cpp
+++ b/
src/caffe/util/db.cpp
@@
-18,6
+18,7
@@
DB* GetDB(DataParameter::DB backend) {
#endif // USE_LMDB
default:
LOG(FATAL) << "Unknown database backend";
+ return NULL;
}
}