| Index: base/process_util_posix.cc
|
| diff --git a/base/process_util_posix.cc b/base/process_util_posix.cc
|
| index cf93c054e05f20f2a7459071466f59f93a8f6eed..90c0f964e630bc014bcc2d0efc98d101ed369358 100644
|
| --- a/base/process_util_posix.cc
|
| +++ b/base/process_util_posix.cc
|
| @@ -400,7 +400,7 @@ char** AlterEnvironment(const environment_vector& changes,
|
| }
|
|
|
| // if !found, then we have a new element to add.
|
| - if (!found && j->second.size() > 0) {
|
| + if (!found && !j->second.empty()) {
|
| count++;
|
| size += j->first.size() + 1 /* '=' */ + j->second.size() + 1 /* NUL */;
|
| }
|
|
|