mirror of
https://github.com/zeldaret/ss
synced 2026-09-09 03:40:36 -04:00
Fix compiler warnings
This commit is contained in:
+4
-4
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user