You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2019/09/04 19:53:39 UTC

[couchdb] branch remove-deprecated-dbinfo-bits updated: Fix compiler warning

This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch remove-deprecated-dbinfo-bits
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/remove-deprecated-dbinfo-bits by this push:
     new ca21745  Fix compiler warning
ca21745 is described below

commit ca217457af982f3768094f39d83d16e8bd92d984
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Wed Sep 4 15:53:03 2019 -0400

    Fix compiler warning
---
 src/couch/src/couch_db.erl | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/couch/src/couch_db.erl b/src/couch/src/couch_db.erl
index 33aa1f7..6135813 100644
--- a/src/couch/src/couch_db.erl
+++ b/src/couch/src/couch_db.erl
@@ -594,9 +594,6 @@ get_db_info(Db) ->
     {ok, DocCount} = get_doc_count(Db),
     {ok, DelDocCount} = get_del_doc_count(Db),
     SizeInfo = couch_db_engine:get_size_info(Db),
-    FileSize = couch_util:get_value(file, SizeInfo, null),
-    ActiveSize = couch_util:get_value(active, SizeInfo, null),
-    ExternalSize = couch_util:get_value(external, SizeInfo, null),
     DiskVersion = couch_db_engine:get_disk_version(Db),
     Uuid = case get_uuid(Db) of
         undefined -> null;