Revert "Revert "Fix deprecated comparison.""
This reverts commit 0782489febc74838ef9118791e95e026ec97ed58.
This commit is contained in:
parent
38207e4ea7
commit
43a171512b
@ -1373,8 +1373,6 @@ PerFrameEqn * Parser::parse_implicit_per_frame_eqn(std::istream & fs, char * pa
|
|||||||
PerFrameEqn * per_frame_eqn;
|
PerFrameEqn * per_frame_eqn;
|
||||||
GenExpr * gen_expr;
|
GenExpr * gen_expr;
|
||||||
|
|
||||||
if (fs == NULL)
|
|
||||||
return NULL;
|
|
||||||
if (param_string == NULL)
|
if (param_string == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
if (preset == NULL)
|
if (preset == NULL)
|
||||||
@ -1528,8 +1526,6 @@ InitCond * Parser::parse_per_frame_init_eqn(std::istream & fs, MilkdropPreset *
|
|||||||
|
|
||||||
if (preset == NULL)
|
if (preset == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
if (fs == NULL)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
if ((token = parseToken(fs, name)) != tEq)
|
if ((token = parseToken(fs, name)) != tEq)
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -1842,8 +1838,6 @@ int Parser::parse_shapecode(char * token, std::istream & fs, MilkdropPreset * p
|
|||||||
/* Null argument checks */
|
/* Null argument checks */
|
||||||
if (preset == NULL)
|
if (preset == NULL)
|
||||||
return PROJECTM_FAILURE;
|
return PROJECTM_FAILURE;
|
||||||
if (fs == NULL)
|
|
||||||
return PROJECTM_FAILURE;
|
|
||||||
if (token == NULL)
|
if (token == NULL)
|
||||||
return PROJECTM_FAILURE;
|
return PROJECTM_FAILURE;
|
||||||
|
|
||||||
@ -2133,8 +2127,6 @@ int Parser::parse_wave(char * token, std::istream & fs, MilkdropPreset * preset
|
|||||||
|
|
||||||
if (token == NULL)
|
if (token == NULL)
|
||||||
return PROJECTM_FAILURE;
|
return PROJECTM_FAILURE;
|
||||||
if (fs == NULL)
|
|
||||||
return PROJECTM_FAILURE;
|
|
||||||
if (preset == NULL)
|
if (preset == NULL)
|
||||||
return PROJECTM_FAILURE;
|
return PROJECTM_FAILURE;
|
||||||
|
|
||||||
@ -2314,8 +2306,6 @@ int Parser::parse_shape(char * token, std::istream & fs, MilkdropPreset * prese
|
|||||||
|
|
||||||
if (token == NULL)
|
if (token == NULL)
|
||||||
|
|
||||||
return PROJECTM_FAILURE;
|
|
||||||
if (fs == NULL)
|
|
||||||
return PROJECTM_FAILURE;
|
return PROJECTM_FAILURE;
|
||||||
if (preset == NULL)
|
if (preset == NULL)
|
||||||
return PROJECTM_FAILURE;
|
return PROJECTM_FAILURE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user