Skip to content

Commit

Permalink
rm trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanSanchez committed Feb 26, 2018
1 parent ab184ae commit 09218d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/serialport_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -796,8 +796,8 @@ void EIO_List(uv_work_t* req) {
dwSize = sizeof(szBuffer);
SetupDiGetDeviceInstanceId(hDevInfo, &deviceInfoData, szBuffer, dwSize, &dwSize);
szBuffer[dwSize] = '\0';
pnpId = strdup(szBuffer);
pnpId = strdup(szBuffer);

vendorId = strstr(szBuffer, "VID_");
if (vendorId) {
vendorId += 4;
Expand Down

0 comments on commit 09218d3

Please sign in to comment.