Skip to content

Commit

Permalink
buffer: remove superfluous assignment
Browse files Browse the repository at this point in the history
PR-URL: #21844
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
tniessen authored and targos committed Jul 18, 2018
1 parent 581390c commit 576f1ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node_buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,6 @@ void Fill(const FunctionCallbackInfo<Value>& args) {
memcpy(ts_obj_data + start, *str, MIN(str_length, fill_length));

} else {
str_length = str_obj->Length();
// Write initial String to Buffer, then use that memory to copy remainder
// of string. Correct the string length for cases like HEX where less than
// the total string length is written.
Expand Down

0 comments on commit 576f1ea

Please sign in to comment.