Skip to content

Commit

Permalink
pgsql: remove unused error handling call
Browse files Browse the repository at this point in the history
  • Loading branch information
jufajardini authored and victorjulien committed Dec 5, 2023
1 parent afd6e4d commit 53d29f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rust/src/pgsql/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,6 @@ pub fn pgsql_parse_response(i: &[u8]) -> IResult<&[u8], PgsqlBEMessage> {
b'T' => parse_row_description(i)?,
b'A' => parse_notification_response(i)?,
b'D' => parse_consolidated_data_row(i)?,
// _ => return Err(Err::Error(make_error(i, ErrorKind::Switch))),
_ => {
let (i, payload) = rest(i)?;
let unknown = PgsqlBEMessage::UnknownMessageType (RegularPacket{
Expand Down

0 comments on commit 53d29f6

Please sign in to comment.