]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: drop unused port var 14412/head
authorJiaying Ren <jiaying.ren@umcloud.com>
Sun, 9 Apr 2017 10:23:01 +0000 (18:23 +0800)
committerJiaying Ren <jiaying.ren@umcloud.com>
Sun, 9 Apr 2017 10:23:01 +0000 (18:23 +0800)
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
src/rgw/rgw_main.cc

index 1bec56553a656a9fd73b3b3ef7e7c74762460d29..64701c09675d7e678107d52e70e5329923192a41 100644 (file)
@@ -470,8 +470,6 @@ int main(int argc, const char **argv)
     RGWFrontend *fe = NULL;
 
     if (framework == "civetweb" || framework == "mongoose") {
-      int port;
-      config->get_val("port", 80, &port);
       std::string uri_prefix;
       config->get_val("prefix", "", &uri_prefix);