diff options
author | Nico Weber <thakis@chromium.org> | 2013-05-01 18:51:51 (GMT) |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2013-05-01 18:51:51 (GMT) |
commit | 071bd6e1e21de954d9012993eec37a67768532a4 (patch) | |
tree | 65c59f32b207169c9cff2b4921baeb5a454ed560 | |
parent | 9aeef6544cb30c16852e81996ad9462ac8d447d4 (diff) | |
download | Ninja-071bd6e1e21de954d9012993eec37a67768532a4.zip Ninja-071bd6e1e21de954d9012993eec37a67768532a4.tar.gz Ninja-071bd6e1e21de954d9012993eec37a67768532a4.tar.bz2 |
minor formatting change
-rw-r--r-- | src/util.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/util.cc b/src/util.cc index a215dd2..fa72dd2 100644 --- a/src/util.cc +++ b/src/util.cc @@ -359,9 +359,8 @@ string ElideMiddle(const string& str, size_t width) { bool Truncate(const string& path, size_t size, string* err) { #ifdef _WIN32 - int fh; - fh = _sopen(path.c_str(), _O_RDWR | _O_CREAT, _SH_DENYNO, - _S_IREAD | _S_IWRITE); + int fh = _sopen(path.c_str(), _O_RDWR | _O_CREAT, _SH_DENYNO, + _S_IREAD | _S_IWRITE); int success = _chsize(fh, size); _close(fh); #else |