mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 08:43:03 +01:00
Add return NULL when needed
This commit is contained in:
parent
2ca2ece5fd
commit
b6b9213745
@ -687,6 +687,7 @@ static QLI_NOD compile_expression( QLI_NOD node, QLI_REQ request, int internal_f
|
||||
|
||||
default:
|
||||
BUGCHECK(359); /* Msg359 compile_expression: not yet implemented */
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1392,6 +1393,7 @@ static QLI_NOD compile_statement( QLI_NOD node, QLI_REQ request, int internal_fl
|
||||
|
||||
default:
|
||||
BUGCHECK(360); /* Msg360 not yet implemented (compile_statement) */
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1695,6 +1697,7 @@ static int computable( QLI_NOD node, QLI_REQ request)
|
||||
|
||||
default:
|
||||
BUGCHECK(361); /* Msg361 computable: not yet implemented */
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -197,6 +197,7 @@ int EVAL_boolean( QLI_NOD node)
|
||||
|
||||
default:
|
||||
BUGCHECK(28); /* Msg28 EVAL_boolean: not finished */
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@ -570,6 +571,7 @@ DSC *EVAL_value(QLI_NOD node)
|
||||
|
||||
default:
|
||||
BUGCHECK(29); /* Msg29 EVAL_value: not finished */
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -369,6 +369,7 @@ struct file *EXEC_open_output(QLI_NOD node)
|
||||
|
||||
IBERROR(37); /* Msg37 ib_fdopen failed */
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@ -586,6 +587,7 @@ static DSC *assignment( QLI_NOD from_node,
|
||||
|
||||
QLI_reprompt = TRUE;
|
||||
QLI_prompt_count = 0;
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1204,7 +1204,7 @@ static FRM expand_form( SYN input, QLI_REL relation)
|
||||
return form;
|
||||
|
||||
ERRQ_print_error(145, string, database->dbb_filename, NULL, NULL, NULL); /* Msg145 form is not defined in database */
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
@ -943,6 +943,7 @@ static SYN parse_copy(void)
|
||||
}
|
||||
|
||||
ERRQ_print_error(157, QLI_token->tok_string, NULL, NULL, NULL, NULL); /* Msg157 Expected PROCEDURE encountered %s */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@ -1159,6 +1160,7 @@ static SYN parse_define(void)
|
||||
return parse_def_index();
|
||||
|
||||
SYNTAX_ERROR(169); /* Msg169 object type for DEFINE */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@ -4558,6 +4560,7 @@ if (MATCH (KW_VIEW))
|
||||
***/
|
||||
|
||||
SYNTAX_ERROR(386); /* Msg386 object type for CREATE */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user