     {{record_type(record_type), record}, rest}
   end
 
-  defp parse_record_with_rid(<<-2 :: short, rest :: binary>>) do
+  defp parse_record_with_rid(<<-2 :: short, _rest :: binary>>) do
     nil
   end
 

  # -3 - RID only (cluster_id as a short, cluster_position as a long)

  defp parse_record_with_rid(<<0 :: short, rest :: binary>>) do
    <<record_type, cluster_id :: short, cluster_position :: long, record_version :: int, rest :: binary>> = rest
    {record_content, rest} = parse(rest, :bytes)
    {class_name, fields} = RecordSerialization.decode(record_content)
    record = %MarcoPolo.Record{class: class_name, fields: fields, version: record_version}

      {:ok, sid, rest} ->
        {:ok, sid, parse_resp_contents(op_name, rest)}
      {:server_error, rest} ->
        {errors, _rest} = parse_errors(rest)
        {:error, Error.from_errors(errors)}
    end
  end
