Avoid g++ warning about using possibly uninitialized PangoContext.

Initialize it to NULL as it could indeed be left uninitialized in some build
configurations before.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2014-06-11 14:55:14 +00:00
parent 2594929d9f
commit c29b6dfaf3

View File

@ -277,7 +277,7 @@ GdkWindow* wxGetTopLevelGDK()
PangoContext* wxGetPangoContext()
{
PangoContext* context;
PangoContext* context = NULL;
GtkWidget* widget;
if (wxGetTopLevel(&widget, NULL))
{