Navigation Menu

Skip to content

Commit

Permalink
Use more meaningful variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 19, 2015
1 parent 70911da commit 3fd7b27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/rset.c
Expand Up @@ -130,11 +130,11 @@ grn_rset_recinfo_get_sum(grn_ctx *ctx,
grn_rset_recinfo *ri,
grn_obj *table)
{
int64_t *sum;
int64_t *sum_address;

sum = grn_rset_recinfo_get_sum_(ctx, ri, table);
if (sum) {
return *sum;
sum_address = grn_rset_recinfo_get_sum_(ctx, ri, table);
if (sum_address) {
return *sum_address;
} else {
return 0;
}
Expand Down

0 comments on commit 3fd7b27

Please sign in to comment.