Index: base/linux_util.cc |
diff --git a/base/linux_util.cc b/base/linux_util.cc |
index 660ea1985c36f276d49235ab0754757a75226f0b..84f202859da73b7d82420d619ae154ccd4c956ea 100644 |
--- a/base/linux_util.cc |
+++ b/base/linux_util.cc |
@@ -231,7 +231,7 @@ bool FindProcessHoldingSocket(pid_t* pid_out, ino_t socket_inode) { |
continue; |
} |
- ino_t fd_inode; |
+ ino_t fd_inode = static_cast<ino_t>(-1); |
if (ProcPathGetInode(&fd_inode, buf)) { |
if (fd_inode == socket_inode) { |
if (already_found) { |