btrfs-progs: simplify empty stirngs check
commit4e01c34b8bf06268a515b7ffe83e905b0a02ef38
authorDavid Sterba <dsterba@suse.com>
Fri, 6 Nov 2015 15:53:55 +0000 (6 16:53 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 Nov 2015 15:53:55 +0000 (6 16:53 +0100)
tree391f12e7fcab1172ef3326579d27c39e4b77b3de
parent49e0f3e6466db78fb6c12f71e0c46be4b1492d90
btrfs-progs: simplify empty stirngs check

We can do a strlen(str) == 0 in a simpler way.

Signed-off-by: David Sterba <dsterba@suse.com>
btrfs-convert.c
btrfs-corrupt-block.c
cmds-filesystem.c
cmds-receive.c
string-table.c
utils.c