Commit aeba7b89 by zmo@google.com

Build fix for chromeos.

BUG= TEST=chromeos bots compile when we roll ANGLE TBR=alokp git-svn-id: https://angleproject.googlecode.com/svn/trunk@1046 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 1f1b0d5d
#define MAJOR_VERSION 1
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION 1045
#define BUILD_REVISION 1046
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
......
......@@ -24,8 +24,8 @@ Lexer::~Lexer()
bool Lexer::init(int count, const char* const string[], const int length[])
{
assert((count >=0) && (string != NULL));
if ((count < 0) || (string == NULL))
assert((count >= 0) && (string));
if ((count < 0) || (!string))
return false;
mInput.reset(new Input(count, string, length));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment