Build fix.
[WebKit-https.git] / WebKit / WebView / WebHTMLView.mm
index 925d27f..93e4ccb 100644 (file)
@@ -1808,7 +1808,7 @@ static NSURL* uniqueURLWithRelativePart(NSString *relativePart)
         return [[self _bridge] documentFragmentWithMarkupString:HTMLString baseURLString:nil];
     }
     if (pboardType == NSRTFPboardType || pboardType == NSRTFDPboardType) {
-        NSAttributedString *string;
+        NSAttributedString *string = nil;
         if (pboardType == NSRTFDPboardType)
             string = [[NSAttributedString alloc] initWithRTFD:[pasteboard dataForType:NSRTFDPboardType] documentAttributes:NULL];
         if (string == nil)