# HG changeset patch # User John W. Eaton # Date 1294863447 18000 # Node ID a339b7a7f73bbdfaf3b771910851b74359545060 # Parent d86389a6dc3f19ab000569807885c02b493a2ee2 rand.cc: delete unused static function diff -r d86389a6dc3f -r a339b7a7f73b src/ChangeLog --- a/src/ChangeLog Wed Jan 12 15:13:20 2011 -0500 +++ b/src/ChangeLog Wed Jan 12 15:17:27 2011 -0500 @@ -1,3 +1,8 @@ +2011-01-12 John W. Eaton + + * DLD-FUNCTIONS/rand.cc (reset_rand_generator): Delete unused + static function. + 2011-01-12 John W. Eaton * graphics.cc (graphics_object::get_ancestor): Avoid GCC warning. diff -r d86389a6dc3f -r a339b7a7f73b src/DLD-FUNCTIONS/rand.cc --- a/src/DLD-FUNCTIONS/rand.cc Wed Jan 12 15:13:20 2011 -0500 +++ b/src/DLD-FUNCTIONS/rand.cc Wed Jan 12 15:17:27 2011 -0500 @@ -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\