dxx-rebirth/common/misc
Kp 03cedbb4cc Remove default-zero for physfsrwops_seek variable pos
This default-zero allowed the bug introduced in
68b47307b4 (and fixed in
4c371734b5) not to generate a compiler
warning for `-Wuninitialized`, since it was initialized to `0`.
However, `0` is not a correct starting value for this variable.  Remove
the initialization and require every code path to assign a meaningful
value.

Switch to use `std::in_range` to validate that no truncation occurs, and
trust that the compiler will optimize this out when the type passed to
`std::in_range` can represent all values that the argument can
represent.
2023-05-27 13:19:31 +00:00
..
error.cpp Pass std::span to print_exit_message 2022-09-24 17:47:53 +00:00
hash.cpp
hmp.cpp Store Windows HMP MIDIHDR inline in hmp_file 2022-08-22 01:24:49 +00:00
ignorecase.cpp Use memcpy to update string in locateOneElement 2023-05-13 15:02:55 +00:00
physfsrwops.cpp Remove default-zero for physfsrwops_seek variable pos 2023-05-27 13:19:31 +00:00
strutil.cpp Return computed filename from removeext 2023-04-02 10:15:20 +00:00
vg-wrap-physfs.h
vgrphys.cpp
vgwphys.cpp Use std::span for poison helper functions 2022-09-24 17:47:51 +00:00