Skip to content

Commit

Permalink
Merge pull request ceph#10221 from Yan-waller/yj-wip-testrados-0709
Browse files Browse the repository at this point in the history
test/rados: remove unused bufferlist variable

Reviewed-by: xiexingguo <[email protected]>
Reviewed-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov authored Nov 13, 2016
2 parents 6aad9ea + 85500d0 commit 961a309
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/test_stress_watch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ struct WatcherUnwatcher : public Thread {
uint64_t handle;
WatchNotifyTestCtx watch_ctx;
int r = ioctx.watch("foo", 0, &handle, &watch_ctx);
bufferlist bl;
if (r == 0)
ioctx.unwatch("foo", handle);
ioctx.unwatch("foo", handle);
ioctx.close();
}
return NULL;
Expand Down

0 comments on commit 961a309

Please sign in to comment.