mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-02-25 10:12:57 +00:00
Turn on more warnings in ios / mac projects.
Make casts explicit. This makes casts that loose precision explicit, from here on we will get warnings. The changes in this commit are made without evaluating each cast, asuming the original casts were intentional. Patch by: jakerr@google.com Review: https://breakpad.appspot.com/453002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1046 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
@@ -89,7 +89,7 @@ static bool ModuleDataForSymbolFile(const std::string &file,
|
||||
std::string line(buffer);
|
||||
std::string::size_type line_break_pos = line.find_first_of('\n');
|
||||
if (line_break_pos == std::string::npos) {
|
||||
assert(!"The file is invalid!");
|
||||
assert(0 && "The file is invalid!");
|
||||
fclose(fp);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user