octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warning while compiling Octave with clang


From: John W. Eaton
Subject: Re: Warning while compiling Octave with clang
Date: Thu, 06 Mar 2014 12:24:27 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9

On 03/06/2014 10:38 AM, PrasannaKumar Muralidharan wrote:

In line 1795 current_liboctave_error_handler is called. In this case
rcon is not initialised and return rcon at line 1884 looks like a
problem. I guess that function call will stop interpreting / executing
the current command. Is this correct?

No, it does whatever the function that liboctave_error_handler points to does. It might not throw an exception. The correct fix is to initialize rcon at the beginning of the function.

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]