Skip to content

Commit

Permalink
Remove unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Imroy committed Nov 26, 2013
1 parent 2642a70 commit 8ae16a3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ops_xattr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ int gridfs_setxattr(const char* path, const char* name, const char* value, size_
return -ENOATTR;

auto sdc = make_ScopedDbConnection();
mongo::GridFS gf = get_gridfs(sdc);
mongo::DBClientBase &client = sdc->conn();

mongo::BSONObj file_obj = client.findOne(db_name() + ".files",
Expand Down Expand Up @@ -140,7 +139,6 @@ int gridfs_removexattr(const char* path, const char* name) {
return -ENOATTR;

auto sdc = make_ScopedDbConnection();
mongo::GridFS gf = get_gridfs(sdc);
mongo::DBClientBase &client = sdc->conn();

mongo::BSONObj file_obj = client.findOne(db_name() + ".files",
Expand Down

0 comments on commit 8ae16a3

Please sign in to comment.