Removed some unused variables in Windows code.
Note: Regarding the ICMP6_CLOSE_FUNC variable in winping.cc, Icmp6CloseHandle does not exist, and IcmpCloseHandle is the correct way to close an IPv6 handle. Therefore the existing code is correct to use close_ on both types of connections and this variable is unnecessary. BUG=505319 Review URL: https://codereview.webrtc.org/1231653003 Cr-Commit-Position: refs/heads/master@{#9555}
This commit is contained in:
@ -124,7 +124,6 @@ const char * const ICMP_CREATE_FUNC = "IcmpCreateFile";
|
||||
const char * const ICMP_CLOSE_FUNC = "IcmpCloseHandle";
|
||||
const char * const ICMP_SEND_FUNC = "IcmpSendEcho";
|
||||
const char * const ICMP6_CREATE_FUNC = "Icmp6CreateFile";
|
||||
const char * const ICMP6_CLOSE_FUNC = "Icmp6CloseHandle";
|
||||
const char * const ICMP6_SEND_FUNC = "Icmp6SendEcho2";
|
||||
|
||||
inline uint32 ReplySize(uint32 data_size, int family) {
|
||||
|
||||
@ -50,7 +50,6 @@ const uint32_t kPixelRgbaWhite = RGBA(0xff, 0xff, 0xff, 0xff);
|
||||
const uint32_t kPixelRgbaTransparent = RGBA(0, 0, 0, 0);
|
||||
|
||||
const uint32_t kPixelRgbWhite = RGB(0xff, 0xff, 0xff);
|
||||
const uint32_t kPixelRgbBlack = RGB(0, 0, 0);
|
||||
|
||||
// Expands the cursor shape to add a white outline for visibility against
|
||||
// dark backgrounds.
|
||||
|
||||
Reference in New Issue
Block a user