diff --git a/src/html/htmlcell.cpp b/src/html/htmlcell.cpp
index 4747a35f43..90dfc46e46 100644
--- a/src/html/htmlcell.cpp
+++ b/src/html/htmlcell.cpp
@@ -783,7 +783,7 @@ void wxHtmlContainerCell::Layout(int w)
const wxHtmlCell *c,
*prev = NULL,
- *next = NULL;
+ *next wxDUMMY_INITIALIZE(NULL);
for ( c = line; c != cell; prev = c, c = next )
{
next = c->GetNext();