Skip to content

Commit e6144a3

Browse files
author
Simon Thörnqvist
committed
remove tvp row temp variable
1 parent 23843f2 commit e6144a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tds/types.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ defmodule Tds.Types do
998998
row_bin = column_attrs
999999
|> Enum.zip(params)
10001000
|> Enum.reduce(<<>>, fn ({{type, attr}, param}, acc) ->
1001-
foo = acc <> encode_data(type, param, attr)
1001+
acc <> encode_data(type, param, attr)
10021002
end)
10031003
row_acc <> << 0x01 >> <> row_bin
10041004
end)

0 commit comments

Comments
 (0)