Mercurial > hg > octave-nkf
changeset 11493:a339b7a7f73b
rand.cc: delete unused static function
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 12 Jan 2011 15:17:27 -0500 |
parents | d86389a6dc3f |
children | a2c3c43af79e |
files | src/ChangeLog src/DLD-FUNCTIONS/rand.cc |
diffstat | 2 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-01-12 John W. Eaton <jwe@octave.org> + + * DLD-FUNCTIONS/rand.cc (reset_rand_generator): Delete unused + static function. + 2011-01-12 John W. Eaton <jwe@octave.org> * graphics.cc (graphics_object::get_ancestor): Avoid GCC warning.
--- a/src/DLD-FUNCTIONS/rand.cc +++ b/src/DLD-FUNCTIONS/rand.cc @@ -487,12 +487,6 @@ static std::string current_distribution = octave_rand::distribution (); -static void -reset_rand_generator (void) -{ - octave_rand::distribution (current_distribution); -} - DEFUN_DLD (randn, args, , "-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} randn (@var{x})\n\