diff --git a/map/framework.cpp b/map/framework.cpp index 4fa0a99f1f..d5fc85d5f8 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -1477,7 +1477,7 @@ graphics::OverlayElement const * GetClosestToPivot(list::max(); - graphics::OverlayElement const * res; + graphics::OverlayElement const * res = NULL; for (list::const_iterator it = l.begin(); it != l.end();