Mercurial > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
17897:185038fe7a16 | 17898:8c33abdd2f9a |
---|---|
1882 octave_fcn_handle *retval = 0; | 1882 octave_fcn_handle *retval = 0; |
1883 | 1883 |
1884 octave_user_function *usr_fcn = f.user_function_value (false); | 1884 octave_user_function *usr_fcn = f.user_function_value (false); |
1885 tree_parameter_list *param_list = usr_fcn ? usr_fcn->parameter_list () : 0; | 1885 tree_parameter_list *param_list = usr_fcn ? usr_fcn->parameter_list () : 0; |
1886 | 1886 |
1887 tree_statement_list *cmd_list = NULL; | 1887 tree_statement_list *cmd_list = 0; |
1888 tree_expression *body_expr = NULL; | 1888 tree_expression *body_expr = 0; |
1889 | 1889 |
1890 if (usr_fcn) | 1890 if (usr_fcn) |
1891 { | 1891 { |
1892 cmd_list = usr_fcn->body (); | 1892 cmd_list = usr_fcn->body (); |
1893 if (cmd_list) | 1893 if (cmd_list) |