# HG changeset patch # User Rik # Date 1531412039 25200 # Node ID 5f63ca41eacbaa02dbb4d5de86f18bf284ab07ef # Parent d4b478bd105cc191b35a8aa60d02fc116d7c88de 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. diff -r d4b478bd105c -r 5f63ca41eacb libinterp/corefcn/error.cc --- 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.