diff --git a/Sources/SwiftGumbo/SwiftGumbo.swift b/Sources/SwiftGumbo/SwiftGumbo.swift index 314e008..8124733 100644 --- a/Sources/SwiftGumbo/SwiftGumbo.swift +++ b/Sources/SwiftGumbo/SwiftGumbo.swift @@ -19,12 +19,8 @@ public class SwiftGumbo { let outputResult = withUnsafePointer(to: options) { (optionsPointer) -> UnsafeMutablePointer in gumbo_parse_with_options(optionsPointer, htmlBuffer, htmlBuffer.count) } - self.htmlBuffer = htmlBuffer - - // Safe to force try here since the outputResult only returns success. self.gumboOutput = outputResult - self.status = outputResult.pointee.status }