Skip to content

Commit

Permalink
tair_client_api.cpp, init impl to NULL in constructor
Browse files Browse the repository at this point in the history
git-svn-id: http://code.taobao.org/svn/tair/trunk@1167 ed5bfd34-b61d-4ad5-b956-f82ce90ca771
  • Loading branch information
nayan@taobao.com committed Sep 25, 2012
1 parent 98245b4 commit 89d583e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/tair_client_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace tair {
* tair_client_api
*-----------------------------------------------------------------------------*/

tair_client_api::tair_client_api()
tair_client_api::tair_client_api() : impl(NULL)
{
memset(cache_impl, 0, sizeof(cache_impl));
}
Expand Down

0 comments on commit 89d583e

Please sign in to comment.