changeset 32907:92e55fcc0c30 stable

doc: Avoid using variable in comment before it is used in the code. * examples/code/embedded.cc: Avoid referring to a variable in a comment that is not yet declared at that point in the actual code of the example.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 02 Feb 2024 10:16:50 +0100
parents cf43680cd221
children b815641a6bcc fd75534ea60e
files examples/code/embedded.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/examples/code/embedded.cc	Thu Feb 01 23:33:19 2024 -0500
+++ b/examples/code/embedded.cc	Fri Feb 02 10:16:50 2024 +0100
@@ -30,7 +30,7 @@
       //     {
       //       std::cerr << "Octave interpreter initialization failed!"
       //                 << std::endl;
-      //       exit (status);
+      //       exit (1);
       //     }
       //
       // You may skip this step if you don't need to do anything