mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-22 21:31:07 -05:00
Merge pull request #986 from ngleb/fix-cpp-comment
fix C++ comment to avoid compilation error (fix #983)
This commit is contained in:
commit
529eabeca7
@ -26,7 +26,7 @@ element *reverse(element *list) {
|
|||||||
element *new = NULL;
|
element *new = NULL;
|
||||||
element *next = NULL;
|
element *next = NULL;
|
||||||
#warning Phenom (2017-07-21): I don't know if it is a real memLeak for new. If not remove this warning and add a comment how it is deleted.
|
#warning Phenom (2017-07-21): I don't know if it is a real memLeak for new. If not remove this warning and add a comment how it is deleted.
|
||||||
// cppcheck-suppress memleak
|
/* cppcheck-suppress memleak */
|
||||||
while (list != NULL) {
|
while (list != NULL) {
|
||||||
next = list->next;
|
next = list->next;
|
||||||
new = cons(list, new);
|
new = cons(list, new);
|
||||||
|
Loading…
Reference in New Issue
Block a user