changeset 27128:50b795da64dc

delete declaration of global warning_state variable * error.h (warning_state): Delete global declaration. The definition of this variable and all uses in Octave were removed in version 4.2.0. The declaration remained, but if anyone was using it, they would (should?) have encountered an undefined symbol error when linking. So I think it should be safe to completely remove now without first tagging it as deprecated.
author John W. Eaton <jwe@octave.org>
date Wed, 29 May 2019 19:49:53 +0000
parents 3d9e72cac668
children 7ff128cf978e
files libinterp/corefcn/error.h
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/error.h	Wed May 29 03:28:05 2019 +0000
+++ b/libinterp/corefcn/error.h	Wed May 29 19:49:53 2019 +0000
@@ -166,10 +166,6 @@
 
 extern OCTINTERP_API int error_state;
 
-//! Current warning state.
-
-extern OCTINTERP_API int warning_state;
-
 //! Tell the error handler whether to print messages, or just store
 //! them for later.  Used for handling errors in eval() and
 //! the 'unwind_protect' statement.