зеркало из https://github.com/mozilla/gecko-dev.git
Fix review nit
This commit is contained in:
Родитель
0008d413fc
Коммит
135baa7fce
|
@ -196,6 +196,7 @@ public:
|
|||
static char* strtok(char* str, const char* delims, char* *newStr);
|
||||
|
||||
static PRUint32 strlen(const PRUnichar* s) {
|
||||
// XXXbsmedberg: remove this null-check at some point
|
||||
if (!s) {
|
||||
NS_ERROR("Passing null to nsCRT::strlen");
|
||||
return 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче