Fix compiler warnings

This commit is contained in:
robojumper
2024-04-27 16:43:54 +02:00
parent 705b0b598e
commit f154b7ccd5
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
#include <c/c_list.h>
bool cListMg_c::insertAfter(cListNd_c *node, cListNd_c *prevNode) {
void cListMg_c::insertAfter(cListNd_c *node, cListNd_c *prevNode) {
if (prevNode == nullptr) {
return this->prepend(node);
}
@@ -18,7 +18,7 @@ bool cListMg_c::insertAfter(cListNd_c *node, cListNd_c *prevNode) {
}
}
bool cListMg_c::remove(cListNd_c *node) {
void cListMg_c::remove(cListNd_c *node) {
if (node == nullptr) {
return;
}
@@ -46,7 +46,7 @@ bool cListMg_c::remove(cListNd_c *node) {
}
}
bool cListMg_c::append(cListNd_c *node) {
void cListMg_c::append(cListNd_c *node) {
if (node == nullptr) {
return;
}
@@ -59,7 +59,7 @@ bool cListMg_c::append(cListNd_c *node) {
this->mpLast = node;
}
bool cListMg_c::prepend(cListNd_c *node) {
void cListMg_c::prepend(cListNd_c *node) {
if (node == nullptr) {
return;
}