diff options
author | Jules.Wang <lancelotds@163.com> | 2012-08-01 09:37:09 +0800 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-08-01 19:04:47 -0700 |
commit | 9c8fe5beb872f5e1d7824b292cb97b47289cb6bd (patch) | |
tree | 7aaf4975e2d880f141cd5381ea1afed16890601b /xlators/cluster/afr/src/afr-transaction.c | |
parent | 980f99e29eed340baf8c9bdcc5d85a36794bde20 (diff) |
mem-pool: remove 'if' by asserting condition directly.
before:
if (!condition) {
GF_ASSERT (0);
}
after:
GF_ASSERT (condition);
BUG: 764890
Change-Id: I9894fcc609579f5efd3f98dbff41ca1487ce6dd2
Signed-off-by: Jules Wang <lancelotds@163.com>
Reviewed-on: http://review.gluster.com/3762
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-transaction.c')
0 files changed, 0 insertions, 0 deletions