changeset 25588:5f63ca41eacb stable

doc: Remove bad calling convention for warning with a mode struct (bug #54288) * error.cc (Fwarning): Remove "warning (mode_struct)" calling form which is not valid.
author Rik <rik@octave.org>
date Thu, 12 Jul 2018 09:13:59 -0700
parents d4b478bd105c
children 053502516f38 959657cab846
files libinterp/corefcn/error.cc
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/error.cc	Wed Jul 04 21:58:46 2018 +0200
+++ b/libinterp/corefcn/error.cc	Thu Jul 12 09:13:59 2018 -0700
@@ -1437,8 +1437,7 @@
 @deftypefnx {} {} warning (@var{state}, @var{id}, "local")
 @deftypefnx {} {} warning (@var{warning_struct})
 @deftypefnx {} {@var{warning_struct} =} warning (@dots{})
-@deftypefnx {} {@var{mode_struct} =} warning (@var{state}, @var{mode})
-@deftypefnx {} {} warning (@var{mode_struct})
+@deftypefnx {} {} warning (@var{state}, @var{mode})
 
 Display a warning message or control the behavior of Octave's warning system.