]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/wordlist.cc
Maintenance: Removed most NULLs using modernize-use-nullptr (#1075)
[thirdparty/squid.git] / src / wordlist.cc
index fa2292bc8d537efca218c788257a6ba51e8059bb..311e4f6ed9b851746902c77f7a4f5f35b722b5d1 100644 (file)
@@ -34,7 +34,7 @@ wordlistAdd(wordlist ** list, const char *key)
 void
 wordlistCat(const wordlist * w, MemBuf * mb)
 {
-    while (NULL != w) {
+    while (nullptr != w) {
         mb->appendf("%s\n", w->key);
         w = w->next;
     }
@@ -44,7 +44,7 @@ SBufList
 ToSBufList(wordlist *wl)
 {
     SBufList rv;
-    while (wl != NULL) {
+    while (wl != nullptr) {
         rv.push_back(SBuf(wl->key));
         wl = wl->next;
     }