summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_cocoa.mm')
-rw-r--r--src/Fl_cocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 7ab9015e0..1a03bc135 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -2781,7 +2781,7 @@ void Fl::paste(Fl_Widget &receiver, int clipboard) {
NSData *data = [clip dataForType:found];
if (data) {
NSInteger len;
- char *aux_c;
+ char *aux_c = NULL;
if (![found isEqualToString:utf8_format]) {
NSString *auxstring;
auxstring = (NSString *)CFStringCreateWithBytes(NULL,