Index: src/base/platform/platform-freebsd.cc |
diff --git a/src/base/platform/platform-freebsd.cc b/src/base/platform/platform-freebsd.cc |
index 507b946f69f57fe001e475169d35256d7070bcd0..58316f8bc1a9abf0ce86549cc0976fce1120ea2d 100644 |
--- a/src/base/platform/platform-freebsd.cc |
+++ b/src/base/platform/platform-freebsd.cc |
@@ -141,7 +141,7 @@ std::vector<OS::SharedLibraryAddress> OS::GetSharedLibraryAddresses() { |
if (bytes_read < 8) break; |
unsigned end = StringToLong(addr_buffer); |
char buffer[MAP_LENGTH]; |
- int bytes_read = -1; |
+ bytes_read = -1; |
do { |
bytes_read++; |
if (bytes_read >= MAP_LENGTH - 1) |