Don't assign variables we don't end up using
resp is unused here, don't assign it.
This commit is contained in:
parent
e590962f2e
commit
b6c2a94121
|
@ -166,7 +166,7 @@ func (c *IPPClient) PrintDocuments(docs []Document, printer string, jobAttribute
|
||||||
req.File = doc.Document
|
req.File = doc.Document
|
||||||
req.FileSize = doc.Size
|
req.FileSize = doc.Size
|
||||||
|
|
||||||
resp, err = c.SendRequest(c.getHttpUri("printers", printer), req)
|
_, err = c.SendRequest(c.getHttpUri("printers", printer), req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return -1, err
|
return -1, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue