Grisly Glee
4202f8650d
Fix trivial signedness warnings ( #15377 )
...
* Fix trivial signedness warnings
* Followup on trivial signedness warnings
2023-06-14 04:43:11 +02:00
libretroadmin
2d48cbaec6
(libretro-db) Cleanups/style nits
2023-02-18 18:04:55 +01:00
libretroadmin
6624126885
(MSVC) silence warnings
2023-02-18 17:04:23 +01:00
libretroadmin
1dcf3b328a
(libretro-db) Cleanups
2023-02-17 16:43:00 +01:00
LibretroAdmin
6f738d4fbd
Gradually get rid of strcpy_literal
...
Reasons:
1 - Just a macro for strcpy
1.2 - doesn't have a return type unlike strlcpy, can't be used
for string concatenation
1.3 - unsafe compared to strlcpy
Do either manual string assignment per character or strlcpy, no
inbetween by resorting to strcpy
2022-08-23 15:04:47 +02:00
twinaphex
c744baeb89
Add ctype variants to stdstring and use it in RA
2020-09-27 22:15:32 +02:00
twinaphex
f1432db433
Cleanup
2020-09-27 20:44:31 +02:00
twinaphex
e9e25aae7d
res.val.bool_ was being set a second time to 0 unnecessarily
2020-09-27 20:41:02 +02:00
twinaphex
edf8fd99c7
(libretro-db) query.c - get rid of strlen call in query_peek
2020-09-27 20:38:08 +02:00
twinaphex
b829c7c1f8
(libretro-db) Cleanups - get rid of some goto labels, simplify one
...
conditional
2020-09-27 20:21:54 +02:00
twinaphex
1296fc4745
use strlcpy_literal for string literal copies
2020-09-19 23:28:01 +02:00
twinaphex
f934aaa78d
Reordre structs, alignment
2020-08-15 18:42:27 +02:00
Twinaphex
faa468d87f
Get rid of unused variables
2020-08-04 04:07:42 +02:00
twinaphex
77cf0ad524
(libretro-db) Small cleanups
2020-08-03 17:13:54 +02:00
twinaphex
1f0529a275
(libz) Silence some warnings - use INT64_C/UINT64_C
2020-07-29 04:41:13 +02:00
twinaphex
a3c1d4ac98
(query.c) Cleanups
2020-07-05 04:21:27 +02:00
twinaphex
c1634914d6
(libretro-db) Cleanup
2020-07-05 02:52:56 +02:00
twinaphex
69b457a427
(libretro-db) Pass tmp_error_buff around to other functions
2020-07-05 02:50:46 +02:00
twinaphex
5e3b353987
(libretro-db) Avoid callocs when possible
2020-06-26 20:24:05 +02:00
twinaphex
110339c1cc
(libretro-db) Add TODO/FIXME notes
2020-06-05 18:13:25 +02:00
twinaphex
3e72c502a8
strlen optimizations :
...
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Alcaro
e21de200a6
fix missing %s
2017-11-27 17:15:58 +01:00
Alcaro
da9cddd833
#5802
2017-11-27 17:08:41 +01:00