Don't assign variables we don't end up using

resp is unused here, don't assign it.
This commit is contained in:
Christian Muehlhaeuser 2019-08-05 16:40:36 +00:00
parent e590962f2e
commit b6c2a94121
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ func (c *IPPClient) PrintDocuments(docs []Document, printer string, jobAttribute
req.File = doc.Document
req.FileSize = doc.Size
resp, err = c.SendRequest(c.getHttpUri("printers", printer), req)
_, err = c.SendRequest(c.getHttpUri("printers", printer), req)
if err != nil {
return -1, err
}