commit | 45d14db88b1d630a851861c4a3c7fe4779e0b34f | [log] [tgz] |
---|---|---|
author | ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | Thu Apr 25 21:32:55 2013 +0000 |
committer | ivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | Thu Apr 25 21:32:55 2013 +0000 |
tree | ebd3e2289cefdb8316d00bb846cac8efefd92e71 | |
parent | d9b40724ed6a6c243eaef196e617071ec36d4282 [diff] |
Fixing a clang warning. This is a followup change from https://breakpad.appspot.com/569002/ This prevents push_back from ever calling Realloc() with 0 (which could happen if wasteful_vector was constructed with size_hint set to 0, causing allocated_ to be 0. Review URL: https://breakpad.appspot.com/576002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1166 4c0a9323-5329-0410-9bdc-e9ce6186880e