Skip to content

Commit 020607c

Browse files
committed
return false as default/fall-through value
1 parent edfa3b5 commit 020607c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/binding.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ class Connection : public ObjectWrap {
503503
this->copyOutMode_ = false;
504504
return true;
505505
}
506-
return true;
506+
return false;
507507
}
508508
bool HandleResult(PGresult* result)
509509
{
@@ -533,7 +533,7 @@ class Connection : public ObjectWrap {
533533
{
534534
this->copyInMode_ = true;
535535
Emit("copyInResponse");
536-
return false;
536+
return false;
537537
}
538538
break;
539539
case PGRES_COPY_OUT:

0 commit comments

Comments
 (0)