ref: b23a71e91801e79fc1dbd9eb6784c8cc071f647c
parent: 3679cb8d48b2fc313a9cf03e619e8167a15453d3
author: gkostka <kostka.grzegorz@gmail.com>
date: Sat Jun 27 20:55:39 EDT 2015
Remove warning
--- a/fs_test/lwext4_server.c
+++ b/fs_test/lwext4_server.c
@@ -810,7 +810,7 @@
int idx = 0;
ext4_direntry *d;
- while (d = ext4_dir_entry_next(&dir_tab[did].fd)) {
+ while ((d = ext4_dir_entry_next(&dir_tab[did].fd)) != NULL) {
idx++;
memcpy(name, d->name, d->name_length);