Build fix.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Feb 2007 23:26:33 +0000 (23:26 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Feb 2007 23:26:33 +0000 (23:26 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19750 268f45cc-cd09-0410-ab3c-d52691b4dbfc

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)