summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2013-09-25 08:55:01 +0000
committerManolo Gouy <Manolo>2013-09-25 08:55:01 +0000
commitce0e298a8afa280d659a75ed308b2da9b2e45451 (patch)
tree584e46fdc720cce0c32833df760080550c349e53 /src/Fl_cocoa.mm
parent15367447cdf95a3195ca13c385e444b8f2c76074 (diff)
Removed some of the warnings mentioned in [fltk.coredev] New warnings with FLTK 1.3.x svn r9991
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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,