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:
@@ -277,7 +277,7 @@ GdkWindow* wxGetTopLevelGDK()
|
|||||||
|
|
||||||
PangoContext* wxGetPangoContext()
|
PangoContext* wxGetPangoContext()
|
||||||
{
|
{
|
||||||
PangoContext* context;
|
PangoContext* context = NULL;
|
||||||
GtkWidget* widget;
|
GtkWidget* widget;
|
||||||
if (wxGetTopLevel(&widget, NULL))
|
if (wxGetTopLevel(&widget, NULL))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user