modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
472 stars 169 forks source link

Fix MSVC warning on strdup #4274

Closed beutlich closed 8 months ago

beutlich commented 8 months ago

Follow-up of #4222. I missed that one location. (Only detected when playing with #4265.) Sorry for the extra review.

Esther-Devakirubai commented 1 week ago

@casella Should this be backported to maint 4.1.0?

beutlich commented 1 week ago

That was on merged on 2024-01-18, i.e., before branching off maint/4.1.0. Hence it already is there.