<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hopefully <a class="moz-txt-link-freetext" href="https://github.com/MapServer/MapServer/pull/6477">https://github.com/MapServer/MapServer/pull/6477</a> should
fix that</p>
<p>to use or not to use assert(), and where, is one of the many
debates for which devs will have different opinions :
<a class="moz-txt-link-freetext" href="https://stackoverflow.com/questions/1081409/why-should-i-use-asserts">https://stackoverflow.com/questions/1081409/why-should-i-use-asserts</a>
. I'd say assert() are supposed to be used for conditions you
don't anticipate to happen in practice and thus for which you
don't have a plan if they occur (a good reason is because you
can't test it and thus the error handling might be broken because
untested). Of course practice sometimes/often later contradicts
your theories, as the impossible has a trend to occur more often
than you'd like :-)</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 12/02/2022 à 19:49, Steve Lime a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAMrKZ9-yC0S04_xxyREzToF5zHviLGev006yUbR1csHGodXtrg@mail.gmail.com"><i><font
color="#ff0000">ert( layer->layerinfo != N</font></i></blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>