Suppress 'value computed is not used' warning on gcc

This commit is contained in:
Max Brunsfeld 2016-11-05 14:39:25 -07:00
parent 4106ecda43
commit ca45acd6af
3 changed files with 15 additions and 19 deletions

View file

@ -80,7 +80,7 @@ static size_t tree_path_advance(TreePath *path) {
static void tree_path_ascend(TreePath *path, size_t count) {
for (size_t i = 0; i < count; i++) {
do {
array_pop(path);
path->size--;
} while (path->size > 0 && !array_back(path)->tree->visible);
}
}