summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/cluster-syncop.c
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2019-10-23 22:38:59 +0300
committerXavi Hernandez <xhernandez@redhat.com>2020-01-13 10:02:00 +0000
commita73baf4e50fd8468f726179d89ba90364c5b8329 (patch)
tree09e94182b1343a999fd068bb3ff3f1bdbe87feff /libglusterfs/src/cluster-syncop.c
parent905db496aa622e421d807222dcc488488da9dbfe (diff)
dict: use the free_pair's key presence or NULL as a sign of use.
Instead of using a boolean parameter, we can use the key variable. If it's NULL, the pair is not used and can be used. Otherwise, it's in use - don't use. It saves this annoying boolean, which causes the compiler (or us explicitly) to pad with additional bytes the dict struct. Change-Id: I89f52db57f35b3ef8acf57b7de2cee37f5d18e06 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'libglusterfs/src/cluster-syncop.c')
0 files changed, 0 insertions, 0 deletions