Skip to content

Commit 7f8595d

Browse files
committed
Remove unused
1 parent 710df6f commit 7f8595d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

lib/backend.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ function Backend({
5757
function ParseComplete() {
5858
onparse()
5959
}
60+
6061
function BindComplete() { /* No handling needed */ }
6162
function CloseComplete() { /* No handling needed */ }
6263

@@ -91,7 +92,7 @@ function Backend({
9192
)
9293
}
9394

94-
function CopyDone(x) { /* No handling needed */ }
95+
function CopyDone() { /* No handling needed */ }
9596

9697
function DataRow(x) {
9798
let index = 7
@@ -118,7 +119,7 @@ function Backend({
118119
: backend.query.result.push(row)
119120
}
120121

121-
function CopyData(x) { /* No handling needed until implemented */ }
122+
function CopyData() { /* No handling needed until implemented */ }
122123

123124
function ErrorResponse(x) {
124125
reject(errors.generic(error(x)))
@@ -145,7 +146,7 @@ function Backend({
145146
: console.log(error(x))
146147
}
147148

148-
function NoData(x) { /* No handling needed */ }
149+
function NoData() { /* No handling needed */ }
149150

150151
function Authentication(x) {
151152
const type = x.readInt32BE(5)
@@ -161,11 +162,11 @@ function Backend({
161162
onparameter(k, v)
162163
}
163164

164-
function PortalSuspended(x) {
165+
function PortalSuspended() {
165166
reject(errors.notSupported('PortalSuspended'))
166167
}
167168

168-
function ParameterDescription(x) {
169+
function ParameterDescription() {
169170
reject(errors.notSupported('ParameterDescription'))
170171
}
171172

@@ -192,22 +193,21 @@ function Backend({
192193
}
193194
}
194195

195-
function FunctionCallResponse(x) {
196+
function FunctionCallResponse() {
196197
reject(errors.notSupported('FunctionCallResponse'))
197198
}
198199

199-
function NegotiateProtocolVersion(x) {
200+
function NegotiateProtocolVersion() {
200201
reject(errors.notSupported('NegotiateProtocolVersion'))
201202
}
202203

203-
function CopyBothResponse(x) {
204+
function CopyBothResponse() {
204205
reject(errors.notSupported('CopyBothResponse'))
205206
}
206207

207-
function ReadyForQuery(x) {
208+
function ReadyForQuery() {
208209
onready()
209210
}
210-
211211
}
212212

213213
function error(x) {

0 commit comments

Comments
 (0)