Mercurial > octave
diff libinterp/octave-value/ov-fcn-handle.cc @ 17898:8c33abdd2f9a
maint: Avoid using NULL in C++ code.
* qtinfo/parser.cc, profiler.cc, profiler.h, txt-eng-ft.cc,
__init_fltk__.cc, ov-fcn-handle.cc, ov-java.cc, mkoctfile.in.cc:
Avoid using NULL in C++ code.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 11 Nov 2013 01:49:57 -0500 |
parents | f05f571ff1fa |
children | 6762a6d23010 bd9d34f28b0f |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-fcn-handle.cc Sun Nov 10 21:10:41 2013 +0100 +++ b/libinterp/octave-value/ov-fcn-handle.cc Mon Nov 11 01:49:57 2013 -0500 @@ -1884,8 +1884,8 @@ octave_user_function *usr_fcn = f.user_function_value (false); tree_parameter_list *param_list = usr_fcn ? usr_fcn->parameter_list () : 0; - tree_statement_list *cmd_list = NULL; - tree_expression *body_expr = NULL; + tree_statement_list *cmd_list = 0; + tree_expression *body_expr = 0; if (usr_fcn) {