Silence warnings for dict type
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/14c384ff Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/14c384ff Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/14c384ff Branch: refs/heads/windsor-merge Commit: 14c384ff58ce3a8ade9c6a73fab2fe678173a823 Parents: 28fdeb4 Author: Paul J. Davis <[email protected]> Authored: Mon Aug 11 12:29:19 2014 -0500 Committer: Robert Newson <[email protected]> Committed: Tue Aug 26 10:44:12 2014 +0100 ---------------------------------------------------------------------- src/couch_att.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/14c384ff/src/couch_att.erl ---------------------------------------------------------------------- diff --git a/src/couch_att.erl b/src/couch_att.erl index 720d435..347a8fd 100644 --- a/src/couch_att.erl +++ b/src/couch_att.erl @@ -50,6 +50,7 @@ downgrade/1 ]). +-compile(nowarn_deprecated_type). -export_type([att/0]). -include_lib("couch/include/couch_db.hrl"). @@ -247,7 +248,7 @@ merge_stubs(MemAtts, DiskAtts) -> merge_stubs(MemAtts, OnDisk, []). --spec merge_stubs([att()], dict:dict(), [att()]) -> [att()]. +-spec merge_stubs([att()], dict(), [att()]) -> [att()]. merge_stubs([Att | Rest], OnDisk, Merged) -> case fetch(data, Att) of stub ->
