diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-01-04 18:02:29 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-01-04 18:02:29 +0100 |
| commit | ae240340ab910a944bae5cdc39da55136ce31438 (patch) | |
| tree | cdaffab99af5a1563b18e8b75745e8b9f32be988 | |
| parent | 13f2ea664a9c5e3fdf318ef75914e2e876b5aaef (diff) | |
Fix for "Fl_Native_File_Chooser_MAC.mm compilation warning" (#627)
| -rw-r--r-- | src/Fl_Native_File_Chooser_MAC.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Native_File_Chooser_MAC.mm b/src/Fl_Native_File_Chooser_MAC.mm index fbf97abed..d19079f3d 100644 --- a/src/Fl_Native_File_Chooser_MAC.mm +++ b/src/Fl_Native_File_Chooser_MAC.mm @@ -569,7 +569,7 @@ static char *prepareMacFilter(int count, const char *filter, char **patterns) { static NSPopUpButton *createPopupAccessory(NSSavePanel *panel, const char *filter, const char *title, int rank) { - NSPopUpButton *popup; + NSPopUpButton *popup = nil; NSRect rectview = NSMakeRect(5, 5, 350, filter ? 60 : 30); NSView *view = [[[NSView alloc] initWithFrame:rectview] autorelease]; NSRect rectbox = NSMakeRect(0, 3, 140, 20 ); |
