1.1 --- a/include/fsserver/pages.h Sun Aug 16 17:38:29 2020 +0200
1.2 +++ b/include/fsserver/pages.h Sun Aug 16 17:39:09 2020 +0200
1.3 @@ -99,7 +99,7 @@
1.4 return item->second->first;
1.5 }
1.6
1.7 - bool pop(PagingAccessor **accessor, Flexpage **flexpage)
1.8 + void pop(PagingAccessor **accessor, Flexpage **flexpage)
1.9 {
1.10 Flexpage_queue_item item;
1.11
1.12 @@ -124,7 +124,6 @@
1.13 _remove(*flexpage);
1.14
1.15 unlock_queue();
1.16 - return true;
1.17 }
1.18
1.19 void push(PagingAccessor *accessor, Flexpage *flexpage)
2.1 --- a/lib/src/pages.cc Sun Aug 16 17:38:29 2020 +0200
2.2 +++ b/lib/src/pages.cc Sun Aug 16 17:39:09 2020 +0200
2.3 @@ -159,11 +159,11 @@
2.4
2.5 PagingAccessor *accessor = NULL;
2.6 Flexpage *flexpage = NULL;
2.7 - bool removed = _queue.pop(&accessor, &flexpage);
2.8 + _queue.pop(&accessor, &flexpage);
2.9
2.10 /* Remove the flexpage, flushing its contents and unmapping it. */
2.11
2.12 - if (removed && (accessor != NULL))
2.13 + if (accessor != NULL)
2.14 accessor->remove_flexpage(flexpage);
2.15
2.16 /* Return the flexpage. */