diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-01-18 03:20:56 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-01-18 03:20:56 +0100 |
commit | bae78fb734b9770619d2d7dbc10dcc55fab18085 (patch) | |
tree | 9236a85ee1d2ef1d3da961fc2532245c56520f21 /LICENSE | |
parent | 657d89a6a0e1f3e97299811cf50cf59785a1328b (diff) | |
download | sds-bae78fb734b9770619d2d7dbc10dcc55fab18085.tar.xz |
sds.h: len/avail: remove unnecessary temp var
Use the returned value of sdsheader directly in the return call instead
of using a temporary variable since we’re not doing pointer arithmetic
directly in the sdslen and sdsavail functions anymore.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions